View Complete Post
i work with custom web part on VS2010 ... and SQL 2008 R2 database when i add the web part in my page on sharepoint it keeps gave me this exception about login failed to this user 'NT AUTHORITY\IUSR' ???
Server Error in '/' Application.
Login failed for user 'NT AUTHORITY\IUSR'.
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.Data.SqlClient.SqlException: Login failed for user 'NT AUTHORITY\IUSR'.
Note: This could be a bug or considered as suggestion. I am not looking for solution.
1: I have ImageWatermark.cshtml open and currently in focus.
2: I have Photo1.jpg selected in left Files workspace.
3: Now if I Click "Run", instead of opening ImageWatermark.cshtml it trys to open Photo1.jpg and it fails.
So ideally I would expect the "open file (ImageWatermark.cshtml) to run rather than running the selection from Workspace.
That notwithstanding, here is my problem. I have developed a simple method that will open a local Word document, modify some header information, and then save the document as a new file. As expected, it works great as a console/windows app, but as soon as I went to ASP.NET, DCOM jacked my world up when accessing the app remotely from a different domain account (that has access to the ASP.NET app. For reference, my method is shown below:
1 public static string ModifyAndSaveBuildDocument(string localFilePath, BuildDocumentType docType, string buildNumber, DateTime buildDate, string projectName)
5 ProjectConfiguration config = (ProjectConfiguration)ConfigurationManager.GetSection("ProjectConfiguration");
MSDN Magazine July 2000
First post bear with me please:
I have a simple form with a list of linkbuttons, each fires the same onclick event which sets an indicator image. I have a dummy button with style="display:none" which I have set as the TargetControlID of the modal.
onClick event from the imagebutton, the modal is shown via modal.Show(). The cancel button inside the modalpopup fires an event which turns off the indicator image and hides the modal via modal.Hide().
The events fire perfectly, it's very simple! Although after doing some testing I noticed the modalpopup is not presented after the 6-10th cycle of clicking the open event, then clicking cancel. The grey background appears but it is behind the main panel and the modal is either presented behind this or is just simply not displaying.
I spent hours researching various methods, implemented the CancelControlID to see if it was somehow tied to my call of modal.Hide() that fails.
This occurs with an updatepanel only. The behaviour is much cleaner this way, so I would hope to be able to implement this. I have basically eliminated everything but these two events! Please help
While trying to use Digest authentication with HttpListener, I expected it to act fairly close to how Basic does. Basic works fine with no surprises. With Digest, however: