Friday, April 25, 2014

WSDL SOAP address location is using the computer name instead of the IP address in WCF

1 You can use below setting to change WSDL SOAP location address.

<behaviors>
        <serviceBehaviors>
            <behavior name="ServiceBehavior">
                <useRequestHeadersForMetadataAddress>
                    <defaultPorts>
                        <add scheme="http" port="8080" />
                    </defaultPorts>
                </useRequestHeadersForMetadataAddress>
2. you can also set your correct wsdl soap location address in httpGetUrl attribute under ServiceMetaData as below
<behaviors> 
<serviceBehaviors> 
<behavior name="ServiceBehavior"> 
<serviceMetadata httpGetEnabled="true" httpGetUrl="htttp://youipaddress/test/service.svc"/> <serviceDebug includeExceptionDetailInFaults="true" /> 
</behavior> 
</serviceBehaviors>

Thursday, September 8, 2011

Could not load file or assembly 'App_Web_83qddigm, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.
(or)
The provided URI scheme 'file' is invalid; expected 'http'. Parameter name: via


This error will occur, if your Silverlight project  is set as Startup Project.

To resolve this error we need to follow the below steps.

1. Right click on solution
2. Select  Set Startup Project.
3. Common Properties->Startup Project
4. Change the Single Startup Project  to your  dotnet project.

Unable to open the design view in asp.net or unhandled exception at 0x216425ae in devenv.exe: oxC0000005:Access violating reading location 0x00000038


This problem in Visual Studio will occur if there are any errors in VSPackages.

To Resolve this issue we need to reset the VSPackages.

Open Visual Studio Command Prompt -> Devenv.exe /ResetSkipPkgs
press enter.

This will resolve the issue.