How to setup shared folder as virtual directory in IIS 7.5 (cross-domain)
784
It's because when you click 'Explore' in IIS Manager, you are using IIS Manager with a user account (most likely the local Administrator) of that box that does not have access to the share. You can fix this by synchronizing the Administrator passwords on both the web server and the storage server.
Related videos on Youtube
Author by
moustafa
Updated on September 18, 2022Comments
-
moustafa over 1 year
This is my Code:
this.http.get('http://localhost/....) .map((res) => res.json()) .subscribe(( this.navCtrl.push(OtpPage,{mobileno:this.mobile}); }, (err) => { console.log(err); });
and getting the following error:
SyntaxError: Unexpected token < in JSON at position 0 at JSON.parse ()
Anyone can help Please??
-
Kewin Dousse about 6 yearsThe resource you're getting from your service on localhost isn't valid JSON. It seems to start with
<
. -
moustafa about 6 yearsAny idea how to solve this @Protectator, thanks.
-
Kewin Dousse about 6 yearsYes, verify that the service you're trying to get on
localhost
returns a correct JSON.
-