C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Communities   Interview   Jobs   Projects   Offshore Development    
Silverlight Tutorials | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Revenue Sharing |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...

New Feature: Community Sites: Create your own .NET community website and start earning from Google AdSense ! It's Free !




Urgent Issue - Web.config Error


Posted Date: 05 Sep 2008      Total Responses: 2

Posted By: alluri basanth kumar varma       Member Level: Silver     Points: 1


Hai Friends,

While i was building the application i am getting the following error

Error 101 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. E:\SmithCommerce\SmithCommerce\SmithCommerce\web.config 61

While i was click the above link it is redirecting to the web.config file and show the error in the following line ie

<machineKey validationKey="C4CA4682E529D7D7415A6E47290DE2DBF3851FE4" decryptionKey="A45D4E08967B3C8BF809D24697BC167BEBD966697960AB3B" decryption="3DES" validation="SHA1"/>

Please suggest me the correct solution for my error.




Responses

Author: ashok    05 Sep 2008Member Level: BronzeRating:     Points: 2
Hey man,
how u have configured your application to server
i mean developed at one location and copied to virtual directory,sometimes this wont work.
If you have directly at virtual directory then check the IIS settings.

Regards,
Ashok


Author: ashok    05 Sep 2008Member Level: BronzeRating:     Points: -20
just check out for ur iis configurations

follow this it may help u.

Configuring Microsoft Internet Information Services (IIS)

This topic describes manual configuration settings for Internet Information Services (IIS).
Before you begin

When you install the Web server plug-ins for WebSphere Application Server, as described in Installing Web server plug-ins, the Plug-ins installation wizard configures the Web server. This topic describes how to configure the Internet Information Services (IIS) Web server. Other procedures in Editing Web server configuration files describe configuring other supported Web servers.

You must have read/write access to the plugins_root directory to perform this task.
About this task
Use the following procedure to manually reproduce how the Installation wizard configures the Microsoft Internet Information Services Web server.
Procedure

* Configure IIS Version 5.0.
1. Start the IIS application and create a new virtual directory for the Web site instance that you intend to work with WebSphere Application Server. These instructions assume that you are using the Default Web Site.
2. Expand the tree on the left until you see Default Web Site.

Right-click Default Web Site, then click New > Virtual Directory to create the directory with a default installation.
3. Type sePlugins in the Alias to be used to Access Virtual Directory field.
4. Browse to the plugins_root\bin directory in the Enter the physical path of the directory containing the content you want to publish field.
5. Select the appropriate Execute check box (such as ISAPI applications or CGI) in the What access permissions do you want to set for this directory field.
6. Click Next to add the sePlugins virtual directory to your default Web site.
7. Click Finish.
8. Right-click Default Web Site in the navigation tree and click Properties.

Add the Internet Services Application Programming Interface (ISAPI) filter into the IIS configuration.
In the Properties dialog, perform the following steps:
1. Click the Internet Information Services tab.
2. Click WWW Service in the Master properties window.
3. Click Edit to open the WWW Service master properties window.
4. Click ISAPI Filters > Add to open the Filter properties window.
5. Type iisWASPlugin in the Filter Name field.
6. Click Browse in the Executable field.
7. Browse to the plugins_root\bin directory.
8. Click the iisWASPlugin_http.dll file.
9. Click OK until all the open windows close.


Ashok


Post Reply
You must Sign In to post a response.
Next : Hi Vipul
Previous : urgent Requirements
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers   BizTalk Adaptors    Web Design

doors in nj

Contact Us    Privacy Policy    Terms Of Use