Showing posts with label Build error. Show all posts
Showing posts with label Build error. Show all posts

Sunday, November 8, 2009

MOSS: document-library file upload limitation

Hi,

When we created shared folder for our business users, I had a doubt about the file upload limitations which might occur when our users upload files. When i googled for the same found that the default size is set to be 50MB (maxRequestLength="51200"). and to increase the limit we just need to configure the xml file in the following location

Solution:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\web.config

Config file:
<location path="upload.aspx">
<system.web>
<httpRuntime maxRequestLength="2097151" />
</system.web>
</location>

Resource: http://www.synergyonline.com/blog/blog-moss/Lists/Posts/Post.aspx?ID=8

Hope it helps

Regards
Fauzi ~4Z

Wednesday, May 13, 2009

Unable to start debugging on the web server. The web server is not configured correctly...

Hey all:

When you build a web solution in Visual studio, if the following error message is shown:

"Unable to start debugging on the web server. The web server is not configured correctly. See help for common configuration errors. Running the web page outside of the debugger may provide further information."

There can be two reasons...

A) The directory where the web application stays may not be configured as web application.

Steps to Solve:
1. Right click the project folder & Click properties.
2. Select "Web Sharing" tab.
3. Choose the option "Share this folder" radio button & Edit Alias window will pop-up, Press OK and build the application.

B) The Frame work version may not be the appropriate one.
Steps to Solve:
1. Right click the project folder from IIS (Run>inetmgr), Click properties
2. Select ASP.NET tab & select the appropriate ASP.NET Version from combo box.
3. Press OK & build the application again.

Hope it is helpful...

Regards
Fauzi