|
Talk to your DBA about the Problem , remember again not everyone can create a Link server, sometimes you might Create a link server and not have permissions to access data on the Other side. Your have a permission Issue.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
heyyy finally i can solve the problem this form with 3 procdure:
///////
1.
EXEC sp_addlinkedserver
@server = 'SPSERVER16',
@srvproduct = '',
@provider = 'SQLNCLI',
@datasrc = 'SPSERVER16'
GO
////////
2.
EXEC sp_addlinkedsrvlogin spserver16, FALSE,SADAFIT-9D6E926\administrator,sa ,1234
////////
3.
EXEC sp_tables_ex spserver16
GO
thanks for ur help Vuyiswa Maseko
|
|
|
|
|
am Glad you Solved it ,
Welcome
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
www.ITS.co.za
|
|
|
|
|
Hi,
What's the attribute for showing a custom event of a usercontrol in properties window of Visual Studio?
Best wishes
|
|
|
|
|
Hi.
How can I handle Print event of Microsft ReportViewer control?
There is no explicit event for it, but I need to do something when print is fired.
Best wishes
|
|
|
|
|
Any Luck with this? I am trying to achieve the same thing.
|
|
|
|
|
Actually No!
Aware me if you find a way, please
Best wishes
|
|
|
|
|
Didnt really find how to do it in Native Report Viewer (MS Control) so far.
therefore, we are looking into third party controls.
So far, the reportViewer in ComponentOne
(Link) looks promising, and it supports SSRS. Also, AJAX is a prerequisite for this, which might be benifitial.
Another one was Telerik which allows you to monitor Client Side Events on server, but the only problem with that is, you have to design reports in their designer only, and thus, no support for ".rdl" files.
i am going to look further for about another week, if i find any solution, would definitely let you know.
Best
SD
|
|
|
|
|
|
Hi,
I am developing web app and:
I have a text box and a drop down list.If i enter a data into the text box i've to show the new entry in the dropdown list at that time itself.If i refresh the page i could see the change ,but is there any other way?
Help me.
|
|
|
|
|
Subin Alex wrote: .If i enter a data into the text box i've to show the new entry in the dropdown list at that time itself.If i refresh the page i could see the change ,but is there any other way?
I didn't get your question.
My understanding is that,You have one textbox and a dropdown list, You are entering some data in textbox and you want some data will be populated to dropdown list. Is it correct?
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
|
Then why you are not using AJAX.
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
is the data u enter go in database.
If yes Ajax is the way
If no use javascript or ne client side scripting.
|
|
|
|
|
What a strange reply. Why is AJAX required ? If the data was not going into a database, how would his question make sense ? How is AJAX different to javascript ?
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
Not sure why no-one else was able to answer this. page_load fires before events, page_prerender fires after. Sounds like your events update the data source, but you load the data to your drop down list in page load, so the old data is loaded, then the data gets updated. Move your code to page_prerender so you load it AFTER you update it. AJAX has nothing to do with it.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
You should use AJAX to call data from your database. Javascript to trigger the call to a servlet that talks to your DB. If you don't have too much data it will be fast enough as is. If you havea large database and it's too slow, you can use an external DB indexing server of some sort. Example:
[^]
Good luck,
Dan - rastaquere AATT gmail DOOTT com
|
|
|
|
|
|
shantanusenin wrote: Urgent
I'll get back to you in my leisure time.
shantanusenin wrote: I am trying open a excel file after downloading it from website
Use Excel to open it it
shantanusenin wrote: but its giving error "Missing file: C:\default.css?5".how can i overcome the error thru C#.
what
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
shantanusenin wrote: I am trying open a excel file after downloading it from website, but its giving error "Missing file: C:\default.css?5".how can i overcome the error thru C#.
After download you are not able to open the file, then how asp.net comes into the picture?
Are you downloading the file from your application or you are generating the File and download it from your sites
shantanusenin wrote:
Urgent
Nothing urgent for me
cheers,
Abhijit
CodeProject MVP
|
|
|
|
|
You are an idiot.
Why would an excel file require a css file ? Where are you getting this error, in a web page ? What is this file, did you create it ? All sorts of things you could tell us which might mean we could actually help you. Even tho it's not urgent to us at all.
Christian Graus
Driven to the arms of OSX by Vista.
"I am new to programming world. I have been learning c# for about past four weeks. I am quite acquainted with the fundamentals of c#. Now I have to work on a project which converts given flat files to XML using the XML serialization method" - SK64 ( but the forums have stuff like this posted every day )
|
|
|
|
|
I applied following code. Output show Msg sent successfully. Actually never it is sent to destination. Messages are only push to C:\inetpub\mailroot\queue;
1.I think IIS can not push the emails out on the internet.How can I look on SMTP response code.
2.I want to send emails from localhost. Now I confused how it possible sending a mail from anonymous mail address like "shahdat_mbstu@yahoo.com" through localhost, bcoz there no relation between my localhost and my mail address "shahdat_mbstu@yahoo.com". ;
3. Please help me!;
public void CreateCopyMessage(string server)
{
MailAddress from = new MailAddress("shahdat_mbstu@yahoo.com", "Ben Miller");
MailAddress to = new MailAddress("shahdat45ict@yahoo.com", "Shahdat Kooras");//jane@contoso.com
MailMessage message = new MailMessage(from, to);
// message.Subject = "Using the SmtpClient class.";
message.Subject = "Using the SmtpClient class.";
message.Body = @"Using this feature, you can send an e-mail message from an application very easily.";
// Add a carbon copy recipient.
MailAddress copy = new MailAddress("Notification_List@contoso.com");
message.CC.Add(copy);
SmtpClient client = new SmtpClient(server);
// Include credentials if the server requires them.
client.Credentials=
client.Credentials = CredentialCache.DefaultNetworkCredentials;
Console.WriteLine("Sending an e-mail message to {0} by using the SMTP host {1}.",
to.Address, client.Host);
try
{
client.Send(message);
lblMessage.Text = "Message successfully sent";
}
catch (Exception ex)
{
Console.WriteLine("Exception caught in CreateCopyMessage(): {0}",
ex.ToString());
}
}
shahdat
|
|
|
|
|
check the event log for errors. That should give you a hint as to what is going on.
Yusuf
Oh didn't you notice, analogous to square roots, they recently introduced rectangular, circular, and diamond roots to determine the size of the corresponding shapes when given the area. Luc Pattyn[^]
|
|
|
|
|
|
My web site uses a master page developed by a consultanting company, in which a custom control generates a session variable Session["Url"] that keeps the Url of the current page. After visiting several pages (all uses the same master page, Url1, Url2.....), I display the value of the Session["Url"] on my testing page that does not use the master page with one line of code:
Response.Write(Session["Url"].ToString());
It displays the last Url I visited. However, when I refresh this page continuously, I see a different value each time for all the pages I visited. Why does one session variable keeps multiple values? I could not duplicate this behavior with my own pages by assigning different values to Session["Url"] multiple times. It always stores the last value I assigned. Does anyone know why? This has created a big problem for me because the Session["Url"] is used to redirect a user back to where he comes from after login.
Thanks,
TOMZ_KV
|
|
|
|