Saturday, September 22, 2012

Get a free t-shirt from Thit!

 
Go to: http://www.thit.com/ and use the invitation code: fZRO5U and you will be able to recieve a free t-shirt :)
 
Even if you get the following error code:
Server Error in '/' Application.
--------------------------------------------------------------------------------

Access to the path 'D:\WebSites\Thit_Production\UserImages\25362.png' is denied.
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.UnauthorizedAccessException: Access to the path 'D:\WebSites\Thit_Production\UserImages\25362.png' is denied.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6 and IIS 7, and the configured application pool identity on IIS 7.5) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

Source Error:

Line 141: Dim file As String = Session("UserID") & "." & file_ext
Line 142:
Line 143: fuImg.PostedFile.SaveAs(Server.MapPath(".\") & "UserImages\" & file)
Line 144: ProfImg = "UserImages\" & file
Line 145: DataAccess.UpdateProfImage(Session("UserID"), ProfImg)

Source File: D:\WebSites\Thit_Production\BetaRegisters.aspx.vb Line: 143

Stack Trace:

[UnauthorizedAccessException: Access to the path 'D:\WebSites\Thit_Production\UserImages\25362.png' is denied.]
System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +12892935
System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath) +2481
System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) +229
System.IO.FileStream..ctor(String path, FileMode mode) +106
System.Web.HttpPostedFile.SaveAs(String filename) +160
BetaRegisters.btnSubmit_Click(Object sender, EventArgs e) in D:\WebSites\Thit_Production\BetaRegisters.aspx.vb:143
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +154
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3691

--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.1

 
You can go back to http://www.thit.com/ and log in with your info and then fill in the details to get your free t-shirt :)  
 
 

No comments:

Post a Comment

Please leave me comments, because I love to hear from my readers.
Have a good day :)