Category: Code or Hosting
-
Exception Details: System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed. error in DotNetNuke
After fighting with this error for oh, 20 or so minutes, Exception Details: System.Security.SecurityException: Request for the permission of type ‘System.Web.AspNetHostingPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089’ failed. the end result was to go into the ApplicaitonPool Advanced Settings in IIS and set Load User Profile to True from False:
-
WinZip 8 Registry
If you are moving between machines and want your WinZip 8 to go with you, check in ‘My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Nico Mak Computing\WinZip\WinIni’ or in ‘My Computer\HKEY_CURRENT_USER\SOFTWARE\Nico Mak Computing\WinZip\WinIni’ (Depending on the install method I beleive) and look for two fields to register, the Name field, and the SN field. These are all you will need, besides…
-
Update the Schema on a Stored Procedure
To update the schema of a single stored procedure, once on the database in question, you would need to run the following line: ALTER SCHEMA destinationSchema TRANSFER sourceSchema.storedProcedure;
-
Exception Details: System.Web.HttpException: Request is not available in this context
Exception Details: System.Web.HttpException: Request is not available in this context http://mvolo.com/iis7-integrated-mode-request-is-not-available-in-this-context-exception-in-applicationstart I agree with the options given: Change your application code to not use the request context (recommended). Move the application to Classic mode (NOT recommended). Change your application code to not use the request context (recommended). OR: Move the application to Classic…
-
Parser Error Message: Could not load file or assembly ‘System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The system cannot find the file specified.
You need to install ASP.NET AJAX 1.0 found here: http://www.microsoft.com/en-us/download/details.aspx?id=883
-
SOLVED: ‘regsrv32’ is not recognized as an internal or external command,
I have gotten the error of ‘regsrv32’ is not recognized as an internal or external command, a few times recently, and it turns out, I typo’d the command. I was typing in regsrv32 as aposed to regsvr32, yes, the ‘v’ and the ‘r’ were switched. Gah, stupid muscle memory.
-
IIS7 IIS7.5 Classic ASP Error on Server.CreateObject(“MSWC.NextLink”)
In newer versions of Windows Server and IIS, Windows Server 2008 and forward (Windows Server 2008 RC0 supposedly did include this) and IIS7, IIS7.5 and forward, Server.CreateObject(“MSWC.NextLink”) will not work. The DLL required is not installed into the OS and the line will cause an error. To fix this, you can download the below zip…
-
Dreamweaver support for FTPS does not exist prior to Dreamweaver CS5.5
I have been battling this one and am annoyed to find that support for FTPS was not included in Dreamweaver until CS5.5 was presented on April 12, 2011. Glad to say I was able to find a note on it. Resources: http://helpx.adobe.com/dreamweaver/using/connect-remote-server.html http://en.wikipedia.org/wiki/Adobe_Creative_Suite#Creative_Suite_5.5
-
Setting up SmarterMail 8 as a site in IIS7 as apposed to a Service command line
Setting up SmarterMail 8 as a site in IIS7 as apposed to a Service is rather straight forward. SmarterTools has this article here: http://portal.smartertools.com/KB/a1485/set-up-smartermail-as-a-site-in-iis-70.aspx I decided to go once step further and make this scripted: 32bit: net stop SMWebSvr sc config SMWebSvr start= disabled %SYSTEMROOT%\System32\inetsrv\appcmd add apppool /name:”SmarterMail” /managedRuntimeVersion:v4.0 /managedPipelineMode:Integrated %SYSTEMROOT%\System32\inetsrv\appcmd set config /section:isapiCgiRestriction…
-
Prevent Truncation for Dynamically Generated T-SQL Results in SSMS
I have recently run into an issue where I run one script that generated another (T-SQL), and for some reason, some of the output is cut off or truncated in SSMS. I want to prevent this. This truncation is caused by the settings below being too low for your case. Altering these setting will significantly…