I have made, due to a necessity in trouble shooting, an update to my script that supplies the details of a Certificate file. The output now includes the SAN (Subject Alternative Names) on the supplies certificate.
I have made, due to a necessity in trouble shooting, an update to my script that supplies the details of a Certificate file. The output now includes the SAN (Subject Alternative Names) on the supplies certificate.
Per here:
http://www.dotnetcurry.com/ShowArticle.aspx?ID=185&AspxAutoDetectCookieSupport=1
In the command prompt cd to:
: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727
Or the specific path for your version,
Encryption:
aspnet_regiis.exe -pef “connectionStrings” “C:\Inetpub\wwwroot\YourWebSite” –prov “RSAProtectedConfigurationProvider”
Decryption:
aspnet_regiis.exe -pdf “connectionStrings” “C:\Inetpub\wwwroot\YourWebSite”
Notice the change in tag from pef for encryption and pdf for decryption as that messed me up.
In my example I had to run:
aspnet_regiis.exe -pdf “appSettings” “C:\Websites\ajsnto94″
Server Error in ‘/’ Application.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
This error can be cleared up in most cases by putting a machine Key (and associated details) into your web.config. If need be, you can generate a set of these details here:
Microsoft VBScript runtime error ‘800a0046′
Permission denied
I recently had this error. Turns out the user running the script did not have write permissions to C:\Inetpub\mailroot\Pickup so the email could never be generated. I used Filemon to find this out: http://technet.microsoft.com/en-us/sysinternals/bb896642.aspx
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.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. Source Error: Line 46: <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> Line 47: <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> Line 48: <add assembly="System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> Line 49: <add assembly="System.Data.Entity, Version=3.5.0.0, Culture=neutral,PublicKeyToken=B77A5C561934E089"/></assemblies> Line 50: </compilation>
This error message means you are trying to load the Assemblies likely found in .NET 3.5 Service pack one and the server you are on does not support it. Easy to fix, download the zip file below, unzip it, create a folder named “bin” sans quotes in your webroot and place the 2 files within the zip into that folder. That’s it.
Stop hotlinking (no Image):
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.|images\.)?google.(de|com|at|pl|fr|nl|it|com.tr|es|ch|be|gr|com.br|lu|fi|pt|hu|hr|bg|com.mx|si|sk|ro|ca|co.uk|cl|com.ar|se|cz|dk|co.th|com.co|lt|co.id|co.in|co.il|com.eg|cn|co.ve|ru|co.jp|com.pe|com.au|co.ma|co.za|com.ph|com.sa|ie|co.kr|no|com.ec|com.vn|lv|com.mt|com.uy|ae|ba|co.nz|com.ua|co.cr|ee|com.do|com.tw|com.hk|com.my|com.sv|com.pr|lk|com.gt|com.bd|com.pk|is|li|com.bh|com.ni|com.py|com.ng|com.bo|co.ke|hn|com.sg|mu|ci|jo|nu|com.jm|com.ly|co.yu|tt|com.kh|ge|com.na|com.et|sm|cd|gm|com.qa|dj|com.cu|com.pa|gp|az|as|pl|mn|ht|md|am|sn|je|com.bn|com.ai|co.zm|ma|rw|co.ug|com.vc|com|at|com.gi|to|com.om|kz|co.uz)(/)?.*$ [NC]
RewriteRule .*\.(gif|jpe?g|png|bmp)$ [F,NC]
Stop hotlinking (replacing Image):
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com(/)?.*$ [NC]
RewriteCond %{HTTP_REFERER} !^http://(www\.|images\.)?google.(de|com|at|pl|fr|nl|it|com.tr|es|ch|be|gr|com.br|lu|fi|pt|hu|hr|bg|com.mx|si|sk|ro|ca|co.uk|cl|com.ar|se|cz|dk|co.th|com.co|lt|co.id|co.in|co.il|com.eg|cn|co.ve|ru|co.jp|com.pe|com.au|co.ma|co.za|com.ph|com.sa|ie|co.kr|no|com.ec|com.vn|lv|com.mt|com.uy|ae|ba|co.nz|com.ua|co.cr|ee|com.do|com.tw|com.hk|com.my|com.sv|com.pr|lk|com.gt|com.bd|com.pk|is|li|com.bh|com.ni|com.py|com.ng|com.bo|co.ke|hn|com.sg|mu|ci|jo|nu|com.jm|com.ly|co.yu|tt|com.kh|ge|com.na|com.et|sm|cd|gm|com.qa|dj|com.cu|com.pa|gp|az|as|pl|mn|ht|md|am|sn|je|com.bn|com.ai|co.zm|ma|rw|co.ug|com.vc|com|at|com.gi|to|com.om|kz|co.uz)(/)?.*$ [NC]
RewriteRule \.(gif|jpe?g|png|bmp)$ /images/humiliatingimage.gif [L,NC]
Force traffic to WWW:
RewriteEngine On
RewriteCond %{HTTP_HOST} !www.example.com
RewriteRule ^.*$ http://www.example.com%{REQUEST_URI} [R]
Force traffic to new Domain:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.net/$1 [R=301,L]
Ethan and I finished the build. It required a little cutting, a little drilling and a whole lot of time. You can see all the few pictures I took on my Past Projects page.
For those of you who have been following my project as of n0w, the problem is the video card is too long. I cannot close the case with it in there as it hits the drive bay mount. Also, the connections on the motherboard for the sata drives does pretty much the same thing, so I may need angle adapthers. We (Ethan and I) are going to see if we can tuck the frive bay elsewhere in the case and still use the parts I have. Also, this is Ethans quote from last night:
“It’s longer than I’m used to, but I like the girth.”
Because this needs to be said, FrontPage called, said it’s okay to let go.
