Loading ...

Website IIS settings, need help

Who is online?  0 guests and 0 members
home  »  forums   »  asp.net topics   »  getting started / general asp.net   » Website IIS settings, need help

Website IIS settings, need help

Posts under the topic: Website IIS settings, need help

Posted: 9/2/2010

Lurker 312  points  Lurker
  • Joined on: 8/27/2010
  • Posts: 54

I have a website which is running on the server (hosted in house)

now i am working on another website and want to test it on server

Well  my website that is already running has a domain name, so logically it is running on an I.P address

on the same I.P address i want to test this current website that iam working on.

This is how my root directory looks like:

wwwroo/website

|----MyComm which is already running

Now i created a folder to test my new website like this:

wwwroot/website

|----MyComm -> which is already running

|----test-website (For testing my new website)

I placed all the files and folders of my new website inside "NewFolder". Now the problem is when i try to access my website like this: 192.168.1.2/myapp/test-website/Default.aspx, i get error message and in that error message i see web config file of my current website that is running live, why ?

on the above link "myapp" is the virtual directory on my IIS service and yes i tried creating "test-website' as Application.

This is how my IIS directory looks like:

+ MYSERVERNAME

......+Application Pools

......--Web Sites

...........|--Default Web Site

..................|--myapp (<- this is my virtual directory)

..........................|--MyComm (Current Website - already set as an application)

..........................|--test-website (I have set this folder as Application)

 

Please guide me in a right direction as i don't wanna mess up my current live website..

 

 

 

 


Posted: 9/3/2010

Lurker 312  points  Lurker
  • Joined on: 8/27/2010
  • Posts: 54

To give a clear picture/idea of my problem here's a screen shot: http://a.imageshack.us/img267/7946/iiserror.jpg

ok on my IIS setting, when i right click on "test-website" (that i am trying to test) > Browse > I get an error message and in the error message webconfig of my current live website is getting dispplayed why ?

 

d


Posted: 9/3/2010

Lurker 117  points  Lurker
  • Joined on: 6/2/2009
  • Posts: 10

Are you using any third party API? Add reference to your website with this dll.

 

 


Posted: 9/3/2010

Lurker 312  points  Lurker
  • Joined on: 8/27/2010
  • Posts: 54

no i am not using any 3rd party API my current website is a normal website and so my test-website...

and i guess it is possible to run number of websites on same server and that is what i am trying to do but i guess i am not able to configure it correctly...


Posted: 9/7/2010

Lurker 312  points  Lurker
  • Joined on: 8/27/2010
  • Posts: 54

anyone ?


Posted: 9/8/2010

Lurker 312  points  Lurker
  • Joined on: 8/27/2010
  • Posts: 54

Can anyone help me with this issue ?


Posted: 9/29/2010

Lurker 30  points  Lurker
  • Joined on: 9/26/2010
  • Posts: 6

I can see you are using nopCommerce open source project. That must be a reference problem. You can try posting in NopCommerce forums instead.


Page 1 of 1 (7 items)