|
If you want to use Windows Authentication then set that Authentication type only in IIS. You need to configure that. By default even Anonymous access are also allowed.
|
|
|
|
|
Hi,
I'm getting a "Mailbox unavailable. The server response was: 5.7.1 <blakepell@gmail.com>... Relaying denied." when I try to route mail outside of my domain. All mail works when I send inside of my domain. Here's the code snippet I'm using:
Dim SmtpMail As New System.Net.Mail.SmtpClient
SmtpMail.Host = _mailServer
SmtpMail.Port = _portnumber
SmtpMail.Send(objMail)
Please help me to resolve this problem...?
With Regards,
Samson
|
|
|
|
|
Use a different SMTP server. The SMTP server you use does not allow relaying. You may want to use the smtp server of your ISP...
|
|
|
|
|
Hi guys,
I have a bit of an issue...
I have say 10 machines sitting behind a router at a remote location.
Each client connects to the same web app - BUT - I want to customize what each client sees as a homepage based on its computername, as in a unique home page for each specific machine (since I cant get IP due to router/firewall/proxy etc.)
Has anyone ever done this? What is the correct way? I have tried with many different techniques, but there are always issues with cross-domain access and local computer access.
Any ideas would be much appreciated!
Thanks.
Xav.
|
|
|
|
|
I have created fusion charts in MVC. Now after clicking on a dataplot in chart, i want to create another new chart. On the fusion chart its given that we can use "FCClickEvent" event. I want to know to is it possible in mvc and if yes then how to add mxml and mx action script.
Please guide me a bit
Thanks
|
|
|
|
|
suppose when i will use ajax in my web apps then i need to monitor how much data is sending to server when partial postback happen. so please tell me is there any tool or best way out.
tbhattacharjee
|
|
|
|
|
You could actually check the fiddler statistics for the amount of data posted and retrieved in each request and response..
Fiddler[^]
HTH
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
Is there any method for making a field in Excel as Text field while exporting in asp.net
Known is a drop, unknown is an ocean
|
|
|
|
|
Hi
I want to show some image while sorting the gridview.
Like for ascending show one image,decending show another image.
Same for child gridview also.
Here is the Link for Sample Code
<a href="http://beta.codeproject.com/KB/webforms/EditNestedGridView.aspx?msg=3107070">http://beta.codeproject.com/KB/webforms/EditNestedGridView.aspx?msg=3107070</a>[<a href="http://beta.codeproject.com/KB/webforms/EditNestedGridView.aspx?msg=3107070" target="_blank" title="New Window">^</a>]
have any idea, please let me know.
Regards,
Pawan.
|
|
|
|
|
In my development environment, I've used ASP.NET to create a solution that has two projects: my ASP.NET application and an ASP.NET Web Service. It runs fine in my development environment.
I have a test environment that is on a totally different network than my development environment (they cannot connect to each other). I need to distribute my application, plus my web service on that development environment but haven't been able to figure out how to get my application to access the web service.
I'd like to do this without having to modify my application to redirect access to the web service every time I build it and copy it to the test environment.
This is for an intranet so I'm not going to publish the web service on the internet.
Any help would be greatly appreciated.
|
|
|
|
|
Have a look at this[^].
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi,
I am referncing a Amazon S3 web service, We have access key and secret key.
I want to put a file in the bucket, buckets are created thro' UI
AmazonS3.PutObjectResult myResult = amazonwsObject.PutObjectInline(BucketName, secretKey, metadata, Filedata, contentLength, null, AmazonS3.StorageClass.STANDARD, True, APIKey, GetTimeStamp(DateTime.Now), True, sign, null)
I am using Following method to calculate Signature:
public string GetSignature(string mySecretAccessKeyId, string strOperation, DateTime myTime)
{
Text.Encoding myEncoding = new Text.UTF8Encoding();
string mySource = ("AmazonS3" + strOperation) + FormatTimeStamp(myTime);
Security.Cryptography.HMACSHA1 myCrypto = new Security.Cryptography.HMACSHA1(myEncoding.GetBytes(mySecretAccessKeyId));
char[] mySourceArray = mySource.ToCharArray();
byte[] myUTF8Bytes = myEncoding.GetBytes(mySourceArray);
byte[] strDigest = myCrypto.ComputeHash(myUTF8Bytes);
return Convert.ToBase64String(strDigest);
}
I could able to see all the buckets created using the same signing method using ListAllBuckets method.
But for putObjectInline method , I am getting soap Exception "Signatures are not matching"
Can anyone please, help me
Vsaratkar
|
|
|
|
|
Hi,
I have created a site, now I want to upload it on the server. I do not have the experience of uploading the site on server, plz help me in this. I am using ASP.NET C# MySQL.
Thanks
|
|
|
|
|
It depends on your host how you get files uploaded. Simply copying the files to the appropriate virtual directory may be enough.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
First publish your web site,then generate script of your database.
Create your database on your host machine.
Copy your files to appropriate virtual directory.
|
|
|
|
|
Thanks all for you reply
I have uploaded the database on server. I am using MySql database.
But I do not know what to write in "Data Source" in web.config, for local computer I had written "localhost" but do not know what to write for web server.
|
|
|
|
|
Hi
i am try to do in web application is there any posible to operate using keyboard keys in web app.
For Ex- i created one textbox in .aspx just after run it if i click to textbox and press to f2 keyboard key then i need to open new page. is it posible to do in web application.
try and try untill reach success..
|
|
|
|
|
Yes you can do. You can catch the keypress event of keyword from javascript and can take action accordingly.
But there are limitation in using javascript, you need to check with your requirement
|
|
|
|
|
Hy,
I have saed a pdf file in the database.i want to extract it from the database
i have ued the following code
myConnection = new SqlConnection(strConn);
const string SQL = "SELECT TOP 1 PDF_FILE FROM dbo.pdffile";
SqlCommand myCommand = new SqlCommand(SQL, myConnection);
myConnection.Open();
SqlDataReader myReader = myCommand.ExecuteReader();
if (myReader.Read())
{
Response.BinaryWrite((byte[])myReader["PDF_FILE"]);
}
myReader.Close();
myConnection.Close();
while debgugging i checked that ((byte[])myReader["PDF_FILE"]) gets values but the end result is alwz blank
|
|
|
|
|
Use while instead if condition:
while(myReader.Read())
{
Response.BinaryWrite((byte[])myReader["PDF_FILE"]);
}
I Love T-SQL
"Don't torture yourself,let the life to do it for you."
If my post helps you kindly save my time by voting my post.
www.aktualiteti.com
|
|
|
|
|
That won't help him, he's got the data in a blob, so looping through the db reader is only going to advance records in his dataset.
|
|
|
|
|
Tried the above sugesstion....it didnt work....Can u plz recommend me some other soln..
modified on Monday, June 14, 2010 11:06 AM
|
|
|
|
|
Have you set the content type of your response to the mime type of PDF?
|
|
|
|
|
Ya...set the content type ...still it didnt help...i get a blank page as output
|
|
|
|
|
hi,
i created Dynamic "File upload Control" ,the problem was i need to get selected file name on Post Back,here I'm sending my code.please help me
Thanks & Advance,
Vishnu.
private void BindDyanmicControl()
{
try
{
HtmlTable htTab = new HtmlTable();
HtmlTableRow htRow = new HtmlTableRow();
HtmlTableCell htCell = new HtmlTableCell();
htCell.ColSpan = 3;
FileUpload flupLoad = new FileUpload();
flupLoad.ID = "FLD1";
flupLoad.EnableViewState = true;
Button btnNew = new Button();
btnNew.ID = "BTN1";
btnNew.Text = "UPLOAD";
btnNew.Click += new EventHandler(btnNew_Click);
htCell.Controls.Add(flupLoad);
htCell.Controls.Add(btnNew);
htRow.Controls.Add(htCell);
htTab.Controls.Add(htRow);
form1.Controls.Add(htTab);
}
catch (Exception _ex)
{ }
}
protected void Page_PreInit(object sender, EventArgs e)
{
BindDyanmicControl();
}
private void btnUpload_Click(object sender, EventArgs e)
{
//here i need to get selected file name
}
|
|
|
|