Wednesday, November 11, 2009
Unable to deploy war file
It seems that there is some permission issues with Windows Vista, if we run tomcat as administrator the problem would be solved. When deploying the .war file, make sure it is deployed within the webapp directory above ROOT. After running tomcat, the server would extract the files into a folder and then we should be able to run tomcat from then.
Sunday, November 8, 2009
Error loading feeds from flash and opening asp.net program without sln file
1. to load the xml feeds, make sure that the url is correct, then recompile it for projector mode (in exe)
2. within vs.net, create a new project and then import all the files from the other server into the folder (if you have subversion, commit it to SVN). The program should not work and should prompt errors mainly about being unable to find certain objects, even though it clearly exist.
The idea is that designer.cs file is missing for the individual document, hence you need to generate it by right clicking on the file and select the "Convert to web application" option. Sometimes if the designer file exist by default and it still throw the error, remove the designer file and try again.
2. within vs.net, create a new project and then import all the files from the other server into the folder (if you have subversion, commit it to SVN). The program should not work and should prompt errors mainly about being unable to find certain objects, even though it clearly exist.
The idea is that designer.cs file is missing for the individual document, hence you need to generate it by right clicking on the file and select the "Convert to web application" option. Sometimes if the designer file exist by default and it still throw the error, remove the designer file and try again.
empty datetime inside a datagrad
if (edate.Equals("")) {
param3.Value = DBNull.Value;
} else {
param3.Value = DateTime.Parse(edate);
}
param3.Value = DBNull.Value;
} else {
param3.Value = DateTime.Parse(edate);
}
submit form on enter key asp.net
can do so using the defaultbutton option inside asp.
form defaultbutton="button1" runat="server"
form defaultbutton="button1" runat="server"
Friday, November 6, 2009
Creating user in SQL Server
INside Microsoft SQL Server Management after you login via windows authentication, select the security table and insert new user, you also need to assign userrole such as sysadmin to the user.
After that, you need to modify the properties of the connection instance to WINDOWS + SQL Server mode. Either that modify it via the Registry settings.
After that, you need to modify the properties of the connection instance to WINDOWS + SQL Server mode. Either that modify it via the Registry settings.
Creating user in SQL Server
INside Microsoft SQL Server Management after you login via windows authentication, select the security table and insert new user, you also need to assign userrole such as sysadmin to the user.
Export SQL Server to MDF
The best way to do so is by using SQL Script and not by any other methods.
To do so, simply go to the sql tools: "tasks" -> "generate script" -> remember to set the option for data export to be true.
To do so, simply go to the sql tools: "tasks" -> "generate script" -> remember to set the option for data export to be true.
Subscribe to:
Posts (Atom)