Saturday, December 13, 2008

Could not load file or assembly 'System.Web.Abstractions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35' or one of its dependencie

I got this error when i was deploying site on web server. My application was working fine in my local. I was getting this error:-

Server Error in '/' 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: Could not load file or assembly 'System.Web.Mvc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.
..
.
..

I installed there AspNetMVCBeta-setup.msi. It worked for me.

HTTP Error 500.19 - Internal Server Error

When i was trying to deploy a website on iis 7,I was getting this error.

HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.

Error Code: 0x8007000d

Notification: BeginRequest

Module: IIS Web Core

Requested URL: http://localhost:8080/

Physical Path: E:\addressverket

Logon User: Not yet determined

Logon Method: Not yet determined

Handler: Not yet determined

Config Error: Unrecognized attribute 'allowOverride'

Config File: \\?\E:\addressverket\web.config

Config Source: 13:
.
.
.



I am using windows Vista. I never deployed any site from that system.
I found in program and feature , i had forgotten to on iis and other asp.net services.It worked for me , might be this will also help you.
Here is the steps to on services:

- Control Panel
- Program and Features
- Turn Windows Features On or Off
Here you will find different - different services. checked those services whatever services you need to run your site.
That worked for me, hope it will also work for you

Friday, December 12, 2008

Publish Failed

Hi friend,

If you don't have any error on your build and still you are getting publish failed error and you have no idea what is happening. Just Check the output window of your visual studio. Output window you can find in view menu.


Thanks,
jaydeep vishwakarma