473,781 Members | 2,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

web.config Configuration Error when deploy

Hi,
I develop a Asp.net application using VS.NET
and It work well on my computer .

but when I deploy the application to another IIS runming manching .
I just copy the whole folder of the application including bin subfolder to
aother machine .

When I access it via Internet Explorer ,the following error happend.

Does any one have some idea about it ?
Any assistant will be greately appreciated!

Thanks!
=============== =============== ==========
Server Error in '/tunnel' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition ='MachineToAppl ication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error:
Line 36: "Passport" and "None"
Line 37: -->
Line 38: <authenticati on mode="Windows" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING

Source File: C:\TunnelingTes t\AspProxy\web. config Line: 38

Version Information: Microsoft .NET Framework Version:1.0.370 5.288; ASP.NET
Version:1.0.370 5.288
Nov 17 '05 #1
1 6169
Hi,

open up the IIS MMC on the target system, open the properties of 'tunnel',
goto home directory and click create in the application settings/application
name area. That should help!

Best regards,

Marc Höppner
NeoGeo

"Xu ChunMing" <xu*********@cl ausmark.com> wrote in message
news:OU******** ******@tk2msftn gp13.phx.gbl...
Hi,
I develop a Asp.net application using VS.NET
and It work well on my computer .

but when I deploy the application to another IIS runming manching .
I just copy the whole folder of the application including bin subfolder to
aother machine .

When I access it via Internet Explorer ,the following error happend.

Does any one have some idea about it ?
Any assistant will be greately appreciated!

Thanks!
=============== =============== ==========
Server Error in '/tunnel' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition ='MachineToAppl ication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:
Line 36: "Passport" and "None"
Line 37: -->
Line 38: <authenticati on mode="Windows" />
Line 39:
Line 40: <!-- APPLICATION-LEVEL TRACE LOGGING

Source File: C:\TunnelingTes t\AspProxy\web. config Line: 38

Version Information: Microsoft .NET Framework Version:1.0.370 5.288; ASP.NET Version:1.0.370 5.288

Nov 17 '05 #2

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

Similar topics

2
1745
by: ALI-R | last post by:
I have a config file in my app ,,called app.config.it works fine in debug but when I deploy application it has no effect.Any suggestion?? Thanks for your help. Here is my app.config ?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="defaultReportServer" value="myserver01" /> <add key="defaultDocLibrary" value="http://test/mytest" />
8
362
by: Neven Klofutar | last post by:
Hi, I get this message when working on different sites: Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote...
3
2489
by: Jeff Robichaud | last post by:
Hello, Since it is possible to put application settings in a file other than web.config, I was wondering what is the best practice in doing so vs. putting these settings directly in web.config. My point is that when I deploy an application, I want to overwrite web.config all the time, because the contents of this file has a direct impact on the application's overall behavior. For example, the execution timeout for my app is 60 seconds,...
3
1239
by: ad | last post by:
I am use VS2005 to develp web applicaiton, it run well in my notebook But after deploy it to a Server. When I start this web application in that server, it showmessage like below. How can I do? ------------------------------------------------------------------------------------------------------- Config error Parser error, can't tell attribute 'xlmls'
7
3781
by: Manuel | last post by:
Hi to all, I'm new in asp.net and have a problem with deploy of my application. If I up on the my server the file *.aspx and *.cs it will run perfectly, but if I try up a web.config it give this an error page: Server Error in '/' Application. Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed...
4
2945
by: yancheng.cheok | last post by:
Hello all, I have a web application, which I had developed few years ago with ASP .NET 1.1 Today, I would like to deploy the web application to client, using ASP .NET 2.0 + UltiDev Cassini 2.0 I locate my whole project in a folder named C:\website\GOWatch
0
1961
by: zeenets | last post by:
I am using Enterprise library v3.1 for developing a windows application. its working well. but there is a security issue, when i deploy this application on client machine the applicationname.exe.config contains connectionString and other secure information. My question is how I can secure applicationname.exe.config file so that anyone could not open it. I have tried encryption of Data Access Application Block (with both providers RSA &...
0
1180
by: jordonkraft | last post by:
Hello, I have been searching the net, MSDN, google groups and can't seem to find anything about what is happening to me. I have developed a application using VB.Net 2.0 and deploy it using ClickOnce over a private network. I use AppSettings.Get("") to retrieve values form my app.config and I use AppSettigns.Settigns("").value = value to set values.
3
2931
by: =?Utf-8?B?YzY3NjIyOA==?= | last post by:
Hi all, I cut and paste the following code from msdn help page which it just introduces view and multiview server controls. Here is what I do: in vs studio 2005, File --New Web Site, it brings me to the dir: C:\Visual Studio 2005\WebSites\WebSite1, it creates default.aspx and default.aspx.vb and I pasted the following code into default.aspx. I go to build to build web site and it says:------ Build started: Project:
0
9639
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9474
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10308
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10143
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9939
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8964
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6729
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5375
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4040
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.