|
Hey Palani,
There might be the following scenarios,
1) you COM Component is not registered in the webserver,
search your registry for "D07EDCC5-4AB7-4B40-91AB-C5BAEE7FA608"
user regsvr32 command
2) your COM might not be binary compatible , may be u built it again and it changed its class id (happens with VB COM if u dont select binary compatibility)
3)The "Logged On User" -- usually the anonymous account -- does not have adequate permissions to run the control. In many cases the anonymous login account (IUSR_<machine>) does not have appropriate permissions on certain Directories/Files or the specific component and its dependencies. While less frequent, if the registry permissions for certain keys are not set correctly, it causes the control to fail to initialize
4)The "Everyone" group has been removed from having READ permissions on certain registry keys due to the mistaken notion that Everyone means ANYONE, when in actuality it simply means all validated users on the Domain/machine.
check out the following link to solve your problem
http://support.microsoft.com/kb/q175804/[^]
BABA thats what they say , B to the A to the B to the A
|
|
|
|
|
Hey Bose
Thank you for your reply . if u dont mind can u explain me how to register my com over webserver
Regards
RPL
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
Hi,
I have written an user control (UserControl ) and i would like to allow only one instance per page to be instantiate by its type.
Do you know what is the best method to achieve this? It has to work in both the statical and dynamical loading scenarios.
|
|
|
|
|
|
Singleton.
"the grass was greener... the light was brighter..."
rechi+
|
|
|
|
|
hi,
I have defined validation server controls RequireFieldValidator and RegulaExpressionValidator
for validatiing sender name and emailid entries in textboxes
but they r not working at all.
I'm also using VlidationSummary to disoplay error message.
I hve assigned properties
ControlToValidate and ErrorMessage ,Display="None"
and property of VlidationSummary, ShowMessageBox="True"
SendButton's Properrty CausesValidation="true"
Even I have set evrything correctly validation controls are not working.
Please help.
Thank you.
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Could you provide a sample of your code.
------------------------------ "The Soapbox has been so ..."
|
|
|
|
|
thank you for replying
I'm sending related code which is part of .aspx file .
It is as follows:
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
I worked on a server that had the same problem. To get the validators to work, I have to turn off client side validation. Then they worked.
|
|
|
|
|
Hi,
I am developing a web appication using asp.net with c#.
I am updating Dataset using datgrid EditItemTemplate and storing in cache.
finally i want to update my table using SqlAdaptor Update mathod but i am gatting error.Please help me..
This is my Dataset Update mathod:
public void grdEmployee_Update(Object o,DataGridCommandEventArgs e)
{
int id = (int)grdEmployee.DataKeys[e.Item.ItemIndex];
TextBox txtName,txtDesignation,txtSex,txtAge,txtSalary;
txtName =(TextBox)e.Item.Cells[0].Controls[0];
txtDesignation =(TextBox)e.Item.Cells[1].Controls[0];
txtSex =(TextBox)e.Item.Cells[2].Controls[0];
txtAge =(TextBox)e.Item.Cells[3].Controls[0];
txtSalary =(TextBox)e.Item.Cells[4].Controls[0];
if (Cache["EMPCACHE"]!=null)
{
DataSet dsUpdate= (DataSet)Cache["EMPCACHE"];
dsUpdate.Tables[0].Rows[e.Item.ItemIndex]["NAME"]=txtName.Text;
dsUpdate.Tables[0].Rows[e.Item.ItemIndex]["DESIGNATION"]=txtDesignation.Text;
dsUpdate.Tables[0].Rows[e.Item.ItemIndex]["SEX"]=txtSex.Text;
dsUpdate.Tables[0].Rows[e.Item.ItemIndex]["AGE"]=Convert.ToInt32(txtAge.Text);
dsUpdate.Tables[0].Rows[e.Item.ItemIndex]["SALARY"]=Convert.ToSingle(txtSalary.Text);
dsUpdate.AcceptChanges();
Cache["EMPCACHE"]=dsUpdate;
grdEmployee.EditItemIndex = -1 ;
grdEmployee.DataSource = dsUpdate;
grdEmployee.DataBind();
}}
Finally i am going to update on Database using this code
private void btnDatabaseUpdate_Click(object sender, System.EventArgs e)
{
try
{
string strConnection= System.Configuration.ConfigurationSettings.AppSettings.Get("ConnectionString");
SqlConnection con = new SqlConnection();
con.ConnectionString = strConnection;
SqlDataAdapter sda = new SqlDataAdapter("select ID,NAME,DESIGNATION,SEX,AGE,SALARY from EMPLOYEEDETAILS",con);
SqlCommandBuilder scb = new SqlCommandBuilder(sda);
sda.Fill(dsObj,"EMPLOYEEDETAILS");
DataSet dsUpdate = (DataSet)Cache["EMPCACHE"];
dsObj = dsUpdate.Copy();
int success=sda.Update(dsObj,"EMPLOYEEDETAILS");
dsObj.AcceptChanges();
grdEmployee.DataSource = dsObj;
grdEmployee.DataBind();
}
catch (Exception ex)
{
Response.Write(" " + ex.Message.ToString());
}
}
I am gatting this error:
Dynamic SQL generation for the UpdateCommand is not supported against a SelectCommand that does not return any key column information.
waiting for promp reply
|
|
|
|
|
Check your sqlDataSource object... first make sure the connection string you are using supports update operation. Second, when you get to the screen where it asks you to type in the SQL statements, click on the Advanced button, then check "Generate Insert, Update, and Delete statements" box. You may also check the "Optimistic concurrency" box as well.
If the above doesn't help you, Zip your project, and email it to me so I can take a look at it NightHawk13@hotmail.com
Nila
I do ANYTHING for a jumbo cup of coffee!
|
|
|
|
|
why it is not wrking in (C#+Asp)n same code is working in Only c#. Is there any other event..
protected void DropDownList1_SelectedIndexChanged(object sender, EventArgs e)
{
TextBox2.Text = DropDownList1.Text;
}
respective text box is not getting updated.
regards.
shriya
|
|
|
|
|
try this
TextBox2.Text = DropDownList1.SelectedIndex.Text;
|
|
|
|
|
Error 1 'int' does not contain a definition for 'Text' D:\TIS\Default.aspx.cs 27 53 D:\TIS\
nops..this is the error..Shriya
|
|
|
|
|
To get the selected Text from the dropdownlist
TextBox2.Text = DropDownList1.SelectedItem.Text;
To get the selected Value from the dropdownlist
TextBox2.Text = DropDownList1.SelectedValue;
(or)
TextBox2.Text = DropDownList1.SelectedItem.Value;
Regards,
Deepa
|
|
|
|
|
thnx Deepa,,
Through collection its 100% possible..The basic problem is there tht the event (DropDownList2_SelectedIndexChanged)is not fired on ..so the problem is arising..
else the associated code is absolutly running fine(TextBox2.Text = DropDownList2.Text;
TextBox2.Text = DropDownList1.SelectedValue;).
Both statments r crect
Regards
shriya
|
|
|
|
|
Make the autopostback event property of the dropdownlist to true..
Have you placed the dropdownlist on the form or in a panel??
where there is a will there is a way
|
|
|
|
|
hello i want to attaced doc file of more than 20pages
omi
|
|
|
|
|
omi98 wrote: hello i want to attaced doc file of more than 20pages
Yes?
Is it that you experience any problem in doing this?
---
b { font-weight: normal; }
|
|
|
|
|
then click on that little paper clip icon and attach it.
|
|
|
|
|
how to export .mdb file to sql server
hai all please clarify mny doubts
|
|
|
|
|
Open SQL Enterprise Manager, create a new database, and import data from the Access database.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
-Open SQL Server Enterprise Manager
-Rightclick on DataBase
-Select AllTask > Impot Data
-DTS Import/Export wizard will shown there select Microsoft Access on "DataSource" selection box
-then chose your file name(.mdb)
-and do further more... thats all its very easy
Regards
RPL
r_palanivel83 10:01 4 Jan '06
|
|
|
|
|
Dear ASP.NET Programmers,
I encountered the following problem when running my project: JUst replaced the latest code onto the server with os
windows 2003 server.Using ASPNET user in the iis settings.
I tried the following things but nothing worked.
1) I tried to look for whether my indexer service is running or not but it was not runnning.
2) I tried to open my temporary asp.net file folder under C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322 and tried to check whether any files are created for my project but there was no folder by the name of my virtual directory except for just "root" folder.
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: Access is denied: 'SSWJ2'.
Source Error:
Line 256: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Line 257: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
Line 258: <add assembly="*">
Line 259:
Line 260:
Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 258
Assembly Load Trace: The following information can be helpful to determine why the assembly 'SSWJ2' could not be loaded.
=== Pre-bind state information ===
LOG: DisplayName = SSWJ2
(Partial)
LOG: Appbase = file:///C:/SSWJ2_Sukhadana_Web
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===
LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: SSWJ2
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/7b02afe7/4059f1d9/SSWJ2.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/7b02afe7/4059f1d9/SSWJ2/SSWJ2.DLL.
LOG: Attempting download of new URL file:///C:/SSWJ2_Sukhadana_Web/bin/SSWJ2.DLL.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573
How to solve this problem?
Regards,
Rajesh
rajesh
|
|
|
|
|
put spaces after < and before > so they dont get filtered out in your post.
|
|
|
|