Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.
Hi.
I have created a Typed Data Set using visual studio 2005 designer. I drag-dropped a table from database and it created a typed data table into it. When I insert data into this table using TableAdapter generated by Visual sudio designer it does not insert in physical database.
I can retrieve it till application is running and lost as the inserted data is in memory not in physical database.
here is the sample code I wrote:
DefectTrackerDataSetTableAdapters.
ta.InsertDefect(
Problem:I am getting following error while running the project in Visual Studio 2005 by hitting F5
"Unable to strat debugging on the web server. The COM+ registry database detected a system error."
what can be the cause?
Answer
After searching some internet,I added the ASPNET user to Local Administrator group and restarted IIS and it started working.
However somewhere it is written that even after removing from Administrator group it kept on working, but not in my case. I removed from the group and restarted IIS and it stopped working again.
Hi,
Whenever I run sfc /scannow it asks for a CD. How can i point it to some other path where my installation source files reside.
In Registry using regedit locate
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\SourcePath
Set its value to the location where I386 foler is located. Provide the parent folder path of I386 and not of I386 itself.
Also update ServicePackSourcePath and add to Installation Sources as well.
HI,
I have got a strange problem. I am opening a webpage using javascript's showModelessDialog fuction. the page contains a calender.
When I click a date on calender (opened with showModelessDialog) it openes a new window showing the javascript function like: javascript:__doPostBack('MyCalendar','3132')
Please provide your valuable comments.
use :
<base target="_self">
in the showModelessDialog or showModalDialog page in head section.
here is the working code:
{
txt = window.getSelection();
}
txt = document.getSelection();
txt = document.selection.createRange().text;
alert(
document.getElementById(
-----------------------------------------------------------------------
Response.Write(hidSelectedText.Value);
Go to
Tools > Options
Expand "Projects And Solutions"
Check "Track Active item in Solution Explorer"
Use
Server.UrlEncode