473,324 Members | 2,193 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

web config not working

I created a web app on my local machine and it works fine. I physically copy
it to a virtual directory and get a Server Error in '/' Application. I try
to change the web.config file to display the errors but it doesn't do
anything. This is the first time we have used .net on a production server so
a suspect it is a security issue or some kind of permissions issue. Regards,
Chris.
Nov 18 '05 #1
3 953
Hi,

Go to the IIS admin and create an application in the directory where you
put your files.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Chris Kennedy" <ch**********@cybase.co.uk> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
I created a web app on my local machine and it works fine. I physically copy it to a virtual directory and get a Server Error in '/' Application. I try
to change the web.config file to display the errors but it doesn't do
anything. This is the first time we have used .net on a production server so a suspect it is a security issue or some kind of permissions issue. Regards, Chris.

Nov 18 '05 #2
How do you that. I have looked in the properties of the virtual directory in
IIS and it says there is application (well it shows a name, the same as the
virtual and execute permissions). Regards, Chris.

"Ignacio Machin ( .NET/ C# MVP )" <ignacio.machin AT dot.state.fl.us> wrote
in message news:ee****************@TK2MSFTNGP12.phx.gbl...
Hi,

Go to the IIS admin and create an application in the directory where you
put your files.

Cheers,

--
Ignacio Machin,
ignacio.machin AT dot.state.fl.us
Florida Department Of Transportation

"Chris Kennedy" <ch**********@cybase.co.uk> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
I created a web app on my local machine and it works fine. I physically copy
it to a virtual directory and get a Server Error in '/' Application. I try to change the web.config file to display the errors but it doesn't do
anything. This is the first time we have used .net on a production

server so
a suspect it is a security issue or some kind of permissions issue.

Regards,
Chris.


Nov 18 '05 #3
Could you give me a pointer to any resources which explain how to set the
directories correctly just so I know I have permissions set up correctly. I
set up a virtual in IIS and copied the contents (i.e. copied and pasted them
in Windows Explorer) of the project to it. I added the ASPNET user to the
physical folder and gave it full permissions and also gave the virtual
permission to execute scripts and executable just to see if it would works.
Is there anything else, I am not too good with network stuff and would like
to know more so I can troubleshoot stuff more quickly.

"David Coe, MCP" <an*******@discussions.microsoft.com> wrote in message
news:D4**********************************@microsof t.com...
If you have your directories set up correctly (and it sounds like you do), you may need to use the workaround we have been using of resetting the
ASP.NET State Service logon.
1.) Go to Ctrl Panel > Admin Tools > Services.
2.) Right click on the ASP.NET State Service and go to Properties.
3.) Click the Logon tab.
4.) Under "Logon as:" change it to the Local System account, hit apply.
5.) Select "This account" under "Logon as:"
6.) Select Browse > ASPNET.
7.) Clear the password fields.
8.) Reset IIS.

I haven't figured out WHY it works, but it works everytime ...

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bmcelhany | last post by:
Hi all, I have a solution with 4 projects: a class library, a windows app, a windows service, and an installer project. The class library handles all communication with the database and its...
2
by: PMac | last post by:
I'm trying to execute a stand-alone console application from an aspx page when a use clicks a button on that page. On the aspx page is the following lines of pertinent code: private void...
2
by: Luke Dalessandro | last post by:
I have an application with the following layout /root/ /root/Default.aspx /root/web.config /root/child/ /root/child/web.config web.config has a custom configuration section "testSection"...
13
by: Khodr | last post by:
Hello, I am using VS.NET 2003 and vb. I build my application MyApp and it generates MyApp.exe.config. So now MyApp.exe reads parameters from MyApp.exe.config. Great and no problem! I need to...
12
by: Ben | last post by:
I have a group of settings that I'd like to have inherited by multiple sites. I'm trying this, but it's not working. wwwroot\group\web.config wwwroot\group\site1\web.config...
10
by: Ryan | last post by:
I've created a custom configuration section that inherits (naturally) from System.Configuration.ConfigurationSection. The configuration section is working 99% fine, however I keep coming across a...
3
by: Blasting Cap | last post by:
I am working on a web app that I want to be able to use a separate config file on, in addition to the web.config file that's already working in the application. If I put the following in the...
6
by: TS | last post by:
I cannot get this to work. I added an app.config to a project i reference from my web application project (vs 05) but can see no way to access the settings within it. the other thing is that I...
10
by: =?Utf-8?B?TUNN?= | last post by:
When creating a new VB Web Application Project with VS2008, there are several settings (compiler settings, option strict, etc) that appear both in the web.config file and "My Project". I'm...
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a app that uses several membership/role providers. I can list these Providers with the code: Dim rootWebConfig1 As Configuration rootWebConfig1 =...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.