|
How do i know the IP Address of my PC on the internet? How to access a particular website from one PC with diff. IP addresses?
Mogha Ritesh
Mogha Ritesh
|
|
|
|
|
Mogha Ritesh wrote: How do i know the IP Address of my PC on the internet?
You browse to a page that displays your IP address. A search for something like "ip address" would reveal plenty of pages that do this.
Mogha Ritesh wrote: How to access a particular website from one PC with diff. IP addresses?
I am not sure what you are meaning. Do you want to change your IP address or do you want to browse to a site by specifying an IP address?
---
single minded; short sighted; long gone;
|
|
|
|
|
Instead typing domain, type ip address ex:
http://89.89.89.89/MyVirtualDirectory
If you are behind Router (Witch i assume, because your are asking your Internet IP) You would have to set Forwarding rules or Virtual Server, that depends on router.
If you have dynamic ip, search for DDNS (Dynamic Domain Name Server)
|
|
|
|
|
I got the following error message while trying to run aspnet_regsql.exe from command prompt. The user I have used to run the command will be the user for aspnetstate database. I have selected a custom database option in the command prompt. My user has got rights in a particular d/b and he has the rights to create a database. I have been searching msdn and google also. I would like to know what are the exact permissions required for a sqlserver login to install session state in sql server and also to use the same.
"An error occurred during the execution of the SQL file 'InstallSqlState.sql'.
The SQL error number is 229 and the SqlException message is: The EXECUTE permission was denied on the object 'sp_delete_job', database 'msdb', schema 'dbo'.If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.
SQL Server: [server]
Database: [dbname]
SQL file loaded:
InstallSqlState.sql
Commands failed:
/* Drop all tables, startup procedures, stored procedures and types. */
/* Drop the DeleteExpiredSessions_Job */
DECLARE @jobname nvarchar(200)
SET @jobname = N'[dbname]' + '_Job_DeleteExpiredSessions'
-- Delete the [local] job
-- We expected to get an error if the job doesn't exist.
PRINT 'If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.'
EXECUTE msdb.dbo.sp_delete_job @job_name = @jobname
SQL Exception:
System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'sp_delete_job', database 'msdb', schema 'dbo'.
If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at system.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception
, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj
ect stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds
ParserStateObject stateObj)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName,
Boolean async)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult res
ult, String methodName, Boolean sendToPipe)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at System.Web.Management.SqlServices.ExecuteFile(String file, String server,
String database, String dbFileName, SqlConnection connection, Boolean sessionSta
te, Boolean isInstall, SessionStateType sessionStatetype)
"
|
|
|
|
|
You should use an account that has execute permission on sp_delete_job stored procedure.
If you connect using a sysadmin account to run the script this can make things easy.
|
|
|
|
|
Hi all
Is it possible that customize membership controls(like login,create user,etc.) that we can insert in the cookie what we want or encrypt cookie data in other forms or change insert in data base model that this controls use?
tanx
rgege
|
|
|
|
|
|
How about an iframe?
---
single minded; short sighted; long gone;
|
|
|
|
|
great, thanks...
an iframe has done the job for the time being but if anyone has a better solution please let me know.
|
|
|
|
|
You can use the HttpWebRequest class to request the page and get it as a string. Then you can extract a part of the html code and put in a Literal control on your page.
For someone with no coding experience, it will take some learning before you are able to put it together, though.
---
single minded; short sighted; long gone;
|
|
|
|
|
thanks for your input guys... is there anyone on here who would be willing to Wright the code for me so I can just copy and paste it in? If so let me know how much.
Thanks
|
|
|
|
|
Hi…
I want to add ContentPlaceHolders within a ContentPlaceHolder. I did it. It works perfectly in Internet Explorer & Firefox, when I view it from IIS Server.
But in visual studio it gives errors “Error Creating Control -The page contains nested Content controls, which are not supported in the designer”.
Is there any special method to add ContentPlaceHolders within a ContentPlaceHolder?
Cheers….!
|
|
|
|
|
I am pretty sure it is not supported by the designer. So I don't think there is much you can do about it. If you leave it in the html view it shouldn't blow up on you.
Ben
|
|
|
|
|
how can I send email to all hotmail,yahoo,gmail,etc accounts?
I Love SQL
|
|
|
|
|
Blue_Boy wrote: how can I send email to all hotmail,yahoo,gmail,etc accounts?
Do you mean spam ?
anyway, this article[^] explains how to send emails in ASP.NET 2.0
|
|
|
|
|
Thanks for your reply but maybe I wasn't clear on my question.
I want to send e-mail (from my hotmail account) to all hotmail accounts?
Regards.
I Love SQL
|
|
|
|
|
Hi All
I wount to convrt the Forme (rtl and ltr)
the convert in form is applying on the controls in this form by convert the direction for it(rtl ltr)
thanks for any body hellp me
Thaer
|
|
|
|
|
you can use the dir attribute of the body element:
<body dir="rtl">
|
|
|
|
|
Hai friends,
I need to add items to HTML Select control using javascript from index 1, because at index 0 the text should be "Select" as selected.
could any one please help me?
|
|
|
|
|
Something like this
document.forms['myform'].testselect.options[1] = new Option('new text','new value');
Paul Marfleet
|
|
|
|
|
|
hello frnds,
i am using HTMLInputFile control in which i want to accept some limited files like only "*.DOC",
how can i filter them, in vb.net there is Filter option.
BUT incase of HTMLInputFile. what should i do ?
please help...?
regards,
koolprasad2003
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
You could use a RegularExpressionValidator[^] control to validate the user's selection. A regular expression like .+\.doc should do the trick.
Paul Marfleet
|
|
|
|
|
in one of page of my website, i am navigating through the dataset using "next" button.it is working properly.but now i want if user do not click on button "next" next record should be shown automatically.so i need a timer that can show next record when its time get over.but i donot know how to use timer control in asp.net. i am developing my website in visual studio2005 using vb.net.if you can suggest some examples for this it will be helpful for me.
|
|
|
|
|
There is no intrinsic ASP.NET timer control but you can implement a timer using JavaScript. Examples can be found by searching Google[^].
Set your timer up to do a postback at some defined interval and pass back information to the server that indicates which record needs to be selected.
Paul Marfleet
|
|
|
|