Knowledge Base

IIS7 – Error : HTTP Error 403.14 – Forbidden

To resolve the issue:

  1. Run a command prompt as Administrator.
  2. Copy and paste the following text “C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe -i”
  3. Restart your machine.

Visual Source Safe is generating duplicate designer file while updating EDMX.

  1. Open the .csproj file in notepad or editplus
  2. Verify the sections 1. <Compile Include=”Domain\Model.Designer.vb”> and 2. <EntityDeploy Include=”Domain\Model.edmx”>
  3. Remove the duplicate name if you found .. for example: Model1.Designer.vb (Model.Designer.vb)
  4. Save it
  5. Now, open the project in VSS
  6. I hope issue is fixed

Section : A

<Compile Include=”Domain\Model.Designer.vb”>
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Model.edmx</DependentUpon>
</Compile>

Section : B

<EntityDeploy Include=”Domain\Model.edmx”>
<Generator>EntityModelCodeGenerator</Generator>
<LastGenOutput>Model.Designer.vb</LastGenOutput>
<CustomToolNamespace>Domain</CustomToolNamespace>
</EntityDeploy>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s