|
I dont think forms authentication will be a issue here..!
Make ths dll url to give access add the configuration in web.config file
Give the dll to access to all the pages..!
<location path="YourDlllocation">
<system.web>
<authorization>
<allow users="*"/>
</authorization>
</system.web>
</location>
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Thank you for your quick response,
but, Even though its not working with the third party tools.
Anybody knows any other way to take screenshot/thumbnail of the current page in asp.net web application?
Thank you in advance,
Raheem MA
|
|
|
|
|
|
Hi all,
I using visual studio 2005 and SQl server 2005, and every thing run will. when i installed Visual studio 2008 and make code for connection to sqlserver 2005 an error box raise shows this error:
system.data.sqlclient.sqlexception login failed for user 'DomainName\User' ... .
Any body have an idea to solve this problem. thanks in advanced
|
|
|
|
|
What is the connection string.
the username and password which are given in the connection string is wrong..!
This is a basic error.
type the user name and password in the sql server management studio..!
try this link for connection strings..!
http://www.connectionstrings.com/[^]
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Dear sashidhar,
I told you same code exactly was written in visual studio 2005 , and successfully make a connection. there is no error in my connection string. by the way, the security type is integrated security=true. and what you told me about username and password it is true, i mean it doesn't work in sql server management studio. so any idea.
Regards
|
|
|
|
|
use follwing syntax
try
{
Sqlconnection con=new Sqlconnection("connection String");
con.open();
}
catch()
{}
If You Get your answer then please Rating me...
Thanks..
"Are You Ready"
DX-ARMY
|
|
|
|
|
Hi,
The connection now is working under windows XP, but still not working under windows 7, maybe the prolem in windows 7 Compatibility or need some updates.
regards
|
|
|
|
|
Put your connection string here, so we can go through it.
|
|
|
|
|
Hi
any one know the cristal report.I want to upload crystal report in web server.But is gives error that some dll file missing.Where to find that dll?
|
|
|
|
|
|
Hi,
I am using Excel objects in my application.When i am trying to create an object for excel object i am getting the following error.
System.Runtime.InteropServices.COMException (0x80080005): Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80080005
The same code is working fine on devolopment machine. But after publish the site on PreProd i am getting the above error.
Thanks in advance.
PhaniPhanindra...
|
|
|
|
|
You don't have MS Office installed on your PrePod.
Apart from Interop DLL, you would need MS Office to be installed on the server.
|
|
|
|
|
hi, iam having the table fields
name nvarchar(50),
emailid nvarchar(50),
startdate datetime,
enddate datetime.
when the end dates comes before ten days we have to remind him that your contract is left for 10 days only. for every 2 days he should get the reminder . when the date ends then he should get the message that you are not in contract how to do this.
|
|
|
|
|
There are several ways to accomplish this Like
-Create a windows service which check the databse and send the mails accordingly to all.
- Create a exe which which check the databse and send the mail and schedule this exe to a specific time daily in windows scheduler.
....Cheers!!
Brij
|
|
|
|
|
Hi all
Can u give the any example because same thing i need to implement
Thanks and regards,
Amit Patel
|
|
|
|
|
|
Please follow the following steps
-Develop a console Application which will do the following things
-- Connects to DB and get the list of all the recipients where you need to send the reminder mail.This you can calculate with the help of enddate.This list you can prepare by C# also.Do as per you convenience.
-- Create/get a mail format that is to be sent the reciepients.
-- Loop all the reciepients, update the subject and mail body according to the reciepient and send mail one by one.
-- Create a task in windows scheduler,which will execute your exe at regular interval.
Please let me know if you face problem at any step.Cheers!!
Brij
|
|
|
|
|
please give me the same example.which helps me. iam getting errors
|
|
|
|
|
can you give a small example for this .which helps me
|
|
|
|
|
Hi all,
can you please guide me, how to insert multiple insert using this code.
SqlCommand cmd = new SqlCommand();
cmd.Connection = conn;
cmd.CommandType = CommandType.StoredProcedure;
cmd.CommandText = "usp_Information";
for (Int64 acct = 1000000000000001; acct <= 1000000000024000; acct++)
{
String sAcct = Convert.ToString(acct);
SqlParameter p1 = new SqlParameter();
p1.ParameterName = "@ShawNumber";
p1.SqlDbType = SqlDbType.VarChar;
p1.Direction = ParameterDirection.Input;
p1.Value = sAcct;
SqlParameter p2 = new SqlParameter();
p2.ParameterName = "@UserId";
p2.SqlDbType = SqlDbType.Int;
p2.Direction = ParameterDirection.Input;
p2.Value = 88578539;
SqlParameter p3 = new SqlParameter();
p3.ParameterName = "@ParentShawNumber";
p3.SqlDbType = SqlDbType.VarChar;
p3.Direction = ParameterDirection.Input;
p3.Value = "22";
cmd.Parameters.Add(p1);
cmd.Parameters.Add(p2);
cmd.Parameters.Add(p3);
cmd.ExecuteNonQuery();
}
Here cmd.ExecuteNonQuery(), it is use for single insert statment, i want to insert multiple records at a time, please guide me.
Thanks in Advance.JohnDas
|
|
|
|
|
What are you doing?
The way you had put
cmd.Parameters.Add(p1);
cmd.Parameters.Add(p2);
cmd.Parameters.Add(p3);
in for loop, the same three parameters keep on adding again and again.
Does this method works fine for you? I doubt 2nd execution would work!
|
|
|
|
|
hi every one,
i have one problem in my web application,i have two layouts.
iam giving user can change the header colors and font size in the css.but how to save user changes colors and font size.. and where ?
give me information or give url's..
thanks to all
|
|
|
|
|
Google "asp.net themes".45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|