Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I Have a main site, mainsite has its own webconfig file. After some time we developed 2 more modules (separeate web applications, so each has its own webconfig files) and each module runs fine as individually. Now, we are trying to create folders inside the mainsite namely module1, module2 and dump all the files respectively. so, module1 has its own webconfig file and module2 has its own config file.

Q. I am getting an error when I try to hit http://server/mainsite/module1/.

Can anyone tell how to do this.

Note: I think as a programmer not as a human, so use my answer at your will
Posted

I was not able to resolve your answer, but I can provide you with one.

In order to make subfolders inside a mainsite act as its own application.

1. Open IIS,

2. expand the tree till you see your folder,

3. right click on the folder (in my case module1), and go to properties.

4. under application settings, click on create button

5. Under Execute permissions, select scripts and executables.

6. click on apply and ok button.

 

For sure this will work, cause it is working for me. But, it has a catch. It is working internally but, when i try externally it gives me error. Error is in web config file regarding "customErrors mode=...." no matter what i say i still get the same error. But it is working excellently when accessed using internal ip address.

Let me know if you have and answer.

Note: I think as a programmer not as a human, so use my answer at your will

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...