.NET app not fully operating on server

T

Tom

I am a novice .NET developer, using Web Dev. 2005 Express version. I found
some code dor doing CAPTCHA verification and it works great on my local
machine. I FTP all files to my web server and when I run the default.aspx I
get the error below...The hosting company (Verio) got rid of the web.config
file and the page ran. Problem is now the CAPTCHA image is not
displaying...and when I added the System.Windows.Forms namespace to display
a MessageBox to help debug, the MessageBox is not displaying - no errors
either...any ideas what could be the problem?
Thanks...Tom


Line 40: by Microsoft that offers a single logon and core profile
services for member sites.
Line 41: -->
Line 42: <authentication mode="Windows"/>
Line 43: <!-- AUTHORIZATION
Line 44: <authentication mode="Windows"/>


Source File: D:\Webs\omegam0006\buckit\web.config Line: 42



Show Additional Configuration Errors:

It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS. (D:\Webs\omegam0006\buckit\web.config line 71)
 
G

Guest

displaying...and when I added the System.Windows.Forms namespace to display
a MessageBox to help debug, the MessageBox is not displaying - no errors
either...any ideas what could be the problem?

You can't do it in ASP.NET and I don't believe that it works on your
local machine.
Line 42: <authentication mode="Windows"/>
Line 43: <!-- AUTHORIZATION
Line 44: <authentication mode="Windows"/>

Do you really need this? It means that ASP.NET application would check
your Windows user account and which is probably wouldn't work work
with your remote user.

Change it to

<authentication mode="None">

http://msdn2.microsoft.com/en-us/library/ms978378.aspx
 
C

Cowboy \(Gregory A. Beamer\)

If you have a control panel where you can turn on scripting on your website,
do it from there.

If not, contact the ISP and let them know you have an ASP.NET app. They will
have to turn on the ability to run scripts on the site. Make sure it is set
to ASP.NET 2.0 and you are golden.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,710
Latest member
bernietqt

Latest Threads

Top