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.

Share:
784

Related videos on Youtube

moustafa
Author by

moustafa

Updated on September 18, 2022

Comments

  • moustafa
    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
      Kewin Dousse about 6 years
      The resource you're getting from your service on localhost isn't valid JSON. It seems to start with <.
    • moustafa
      moustafa about 6 years
      Any idea how to solve this @Protectator, thanks.
    • Kewin Dousse
      Kewin Dousse about 6 years
      Yes, verify that the service you're trying to get on localhost returns a correct JSON.