473,382 Members | 1,545 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,382 software developers and data experts.

.NET app not fully operating on server

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)

Nov 23 '07 #1
2 1145
On Nov 23, 8:33 pm, "Tom" <tom.gaug...@excursiontech.comwrote:
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
Nov 23 '07 #2
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.

--
Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

*************************************************
| Think outside the box!
|
*************************************************
"Tom" <to*********@excursiontech.comwrote in message
news:uo*************@TK2MSFTNGP03.phx.gbl...
>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)

Nov 23 '07 #3

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

Similar topics

3
by: Loi | last post by:
Hi All, I use Bulk insert to put data to myTable. When the SQL server is in local machin, it works well. But when I put the data in a sql server situated not locally, then I get a error message...
6
by: Puzzled | last post by:
This is a weird problem, but perhaps someone else has seen it before (I hope!) If I use a fully qualified include call include ( 'http://localhost/subtree/filename.php') I get an 'undefined...
2
by: | last post by:
I have a windows service written in vb.net with .net framework 1.1 on the development machine. We have bought a new server which has windows server 2003 64 bit edition installed. The...
5
by: thisis | last post by:
Hi All, Hi All, (this is not the same topic as the my previous topic) What objects/methods/properties does VBScript offer for: Assuring/guarantee/make certain that ASP/VBSCript an ELEMENT...
4
by: januarynow | last post by:
Generally, my site contains javascripts (a couple of freebie counters plus some CPM (pay-per-impression) and CPC (pay-per-click) ads), from four different firms, but they are all suffering from the...
1
by: jdresow | last post by:
I installed MySQL on a windows server 2003, in an acxtive directory domain and I get error 32 which is a sharing error. I do not understand this and I am also adding the first several lines of my...
15
by: Fro | last post by:
Hi, I have a php-script which writes uploaded files into a directory. My php-script gives a specific names to the saved files. I found in the directory a file which has a name which could not be...
0
by: nancylife | last post by:
When developing web report, many developers use VMware to simulate different operating systems on a same server. Then, they can realize cross-platform deployment and debug of web report. According to...
0
by: taleden | last post by:
Hi, - I'm trying to load a large file (about 300MB) using pickle.load(). - The file contains a PyMl classifier object - When I load the file on my PC it works fine (with an XP operating system)....
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.