Manish Pansiniya's Blog

.NET, C#, Javascript, ASP.NET and lots more…:)

Archive for the ‘ASP.NET’ Category

550 Cannot receive from specified address : Unauthenticated senders not allowed in SendGrid

leave a comment »

I received this while working with SendGrid. The issue was, we are not using Authentication before sending emails. Just set it up in our code and it works like charm.

Advertisements

Written by Manish

June 22, 2013 at 5:10 pm

Posted in .NET, .NET 4.0, ASP.NET

Tagged with ,

MVC 3 RTM Install Error (after upgrading to VS2010 SP1)

leave a comment »

I have problem installing SP1 as well as MVC 3 RTM.

Following is the kind of error which I was getting in installation.

Action: Performing Action on Exe at k:\temp\ext27692\VS10-KB2483190-x86.exe…

[6/18/2011, 16:23:41]Launching CreateProcess with command line = VS10-KB2483190-x86.exe /q /norestart
[6/18/2011, 16:23:46]k:\temp\ext27692\VS10-KB2483190-x86.exe – Exe installer does not provide a log file name
[6/18/2011, 16:23:46]Exe (k:\temp\ext27692\VS10-KB2483190-x86.exe) failed with 0x8007066a – The upgrade cannot be installed by the Windows Installer service because the program to be upgraded may be missing, or the upgrade may update a different version of the program. Verify that the program to be upgraded exists on your computer and that you have the correct upgrade. .
[6/18/2011, 16:23:46]PerformOperation on exe returned exit code 1642 (translates to HRESULT = 0x8007066a)

 

For Resolutions:

I repair/reinstall VS 2010 so that I can install VS2010 SP1.

For MVC, I followed following article:-

http://sourcecodebean.com/archives/mvc-3-rtm-install-error-after-upgrading-to-vs2010-sp1/977/comment-page-1#comment-8806

Written by Manish

June 18, 2011 at 4:45 pm

Posted in .NET 4.0, ASP.NET

Tagged with , ,

Change the method’s message name using WebMethodAttribute or change the type’s root element using the XmlRootAttribute."

with one comment

We have just received the error when we tried to return a type which contains Response behind it.

Like,

We have webmethod, UpdateStatus and we have following signature

Public Function UpdateStatus(….) as UpdateStatusResponse

But it gives us above exception when I try it using URL to access the service. Then after some debugging and googling, I found that, .NET uses internal class that uses UpdateStatusResponse. If I change the name to UpdateStatusResult and error gone Smile

Written by Manish

May 26, 2011 at 4:26 pm

Good article about scraping the website

leave a comment »

Written by Manish

April 3, 2011 at 3:52 pm

System.BadImageFormatException: Could not load file or assembly ‘WatiN.Core,

leave a comment »

You might be using 32bit dll on 64bit machine. You can change project settings to compile it for specific target platform.

Written by Manish

March 4, 2011 at 2:23 pm

could not load file or assembly ‘microsoft.practices.objectbuilder’ or one of its dependencies. The parameter is incorrect. (Exception from HRESULT: 0x80070057)

leave a comment »

Cleared the temporary file and problem is resolved Smile

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\MyWebService

Written by Manish

February 23, 2011 at 7:36 pm

ERROR 1168 : Element not found–What to do

leave a comment »

We got the error 1168 for the starting FTPSVC in IIS7 on windows 2008. But could not understand a bit as it is general error that could not read something.

Just go to Event Log>System section to see the full details of error and then you can search specific to it

Written by Manish

December 4, 2010 at 5:43 pm

Posted in .NET, .NET 3.0, ASP.NET, IIS7

Tagged with , ,