|
There is no separate place for asp. Thats why i put my query here.
My client does not give user name & password to authenticate mails. With out authentication they dont want send mail. So CDO is not a right choice in this place, thats why i choose outlook. I can ask them to configure outlook in webserver then i can send mails through this.
Regards,
Rishi
WinCrs
|
|
|
|
|
WinCrs wrote: There is no separate place for asp. Thats why i put my query here.
Christian Graus wrote: The web dev forum is still there for people using antiquated technologies.
As CG suggested, post your question at Web Development Forum. You may get help from there.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I m uploading my website with access database..........database is already stored in App_Data folder and i m giving the path like:-
Data Source=|Data Directory|\db.mdb
but its not running........its giving me error after uploading server...i tried to find out on internet...some used global.asa and cache.........whts the right way.............plz guide me a bit....
|
|
|
|
|
I can't make head or tails of this. Did you fail to mark your post to not parse HTML tags, and actually post a web.config file ?
It's usually wise to tell us what the error message is, instead of asking us to guess.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I mean to say........wht should be connection string in web.config in case of access database when i m stroing database in App_Data folder
|
|
|
|
|
what abbout DataSource=~/App_Data/ASPNetDB.mdb
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Abhijeet is right..!
KhandelwalA wrote: Data Source=|Data Directory|\db.mdb
Y dont U use this It may help
dbconn=New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;
data source=" & server.mappath("northwind.mdb"))
If It Helps Click It as Answer
|
|
|
|
|
sashidhar, This is correct !
But I guess, this code is applicable for CS file not in web.config. This is not good to provided hardcoded ConnectionString in Code.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Yes U r Right..!
If It Helps Click It as Answer
|
|
|
|
|
|
I think this is code useful for u
<appSettings>
<add key="ConnectionStrings" value="Provider=Microsoft.Jet.OLEDB.4.0; Data Source={0}"/>
<add key="dbfile" value="~/App_Data/data.mdb"/>
</appSettings>
Sure It's work
prabhakar......
modified on Saturday, September 19, 2009 4:29 AM
|
|
|
|
|
hi friends
i have a RSS URl i need to parse it showing as hyperlink with marquee action in one page .
the url is like this
http://feeds.reuters.com/reuters/INbusinessNews
how to read the url using asp.net and presenting like breaking news .
please guide me
bye
Naag
|
|
|
|
|
|
hi
thanks for your reply
http://capitalmarket.com in that site i am loking Capital Market - Live News
we will develop in asp.net i am looking for that .
any help
bye
naga
|
|
|
|
|
.NET 3.5 WCF provides syndication support for RSS/ATOM feeds. All you need is to create a SyndicationFeed object with available URL and it will read ever thing from desired URL. Then you bind readed items to some repeater and render them in some suitable form.
|
|
|
|
|
Hi all,
In a ASP.NET website, I have used Login View to show the Login Status. For Login I have used Login Control.
It is showing status correctly. But after few idle minutes, it is automatically login view text changing to "login"
But user is already logged in. I think this is Session problem. I have used below line earlier. I commented it now.
Still same problem.
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="UseCookies" timeout="1400" />
pl.help me out
Ramesh Sambari
Knowledge is like honey.
Collect it, to make life sweet.
modified on Thursday, September 17, 2009 1:03 AM
|
|
|
|
|
specialdreamsin wrote: But user is already logged in
How do you know it?
specialdreamsin wrote: I think this is Session problem
What is your session timeout limit? Is it timing out before that?
specialdreamsin wrote: I have used below line earlier. I commented it now.
Still same problem.
You haven't provided any line.
specialdreamsin wrote: I have used Login View to show the Login Status
Do you really need a control for simple login purpose?
|
|
|
|
|
plz...Look at my Original Message now..
I unexpectedly ticked the option
Do not interpret HTML tags (good for code snippets)
While posting message.
pl.look in to it and reply me.
Ramesh Sambari
Knowledge is like honey.
Collect it, to make life sweet.
|
|
|
|
|
specialdreamsin wrote:
sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="UseCookies" timeout="1400"
What is that ? what is the use of stateConnectionString and sqlConnectionString over Inproc Session Mode ?
Please read this article,It will help.
Exploring Session in ASP.Net[^]
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
hi,
In my website, First is the Login Page. I used Login Control for that. On Successful Login I am assigning to a Sesssion
variable i-e Session("UserId")="user1". Next page is the Main.aspx, In this I used Login view control. It is showing as
user1 [Signout]. Its correct. After few minutes...if I am idle ... the Loginview message is changing to user1[Signin] in the
main page. Session("UserId") is still user1, but login view is showing wrong information.
This is the problem.
Plz help me.
Ramesh Sambari
Knowledge is like honey.
Collect it, to make life sweet.
|
|
|
|
|
Did you read the article link that I have provided to you ?
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi all,
I developed a WebSite. When I click one of the Links I am getting this error often. Not only that link almost all. This is coming when I first time click. Second time it is working fine.
Error Message is :
Error Page: http://192.9.200.22/RStationary/Dispatch.aspx
Error Message: D:\RStationary\Dispatch.aspx(1): error BC30456: 'InitializeCulture' is not a member of 'ASP.dispatch_aspx'.
Source : System.Web
Stack Trace : at System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath)
at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile)
at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp, Boolean noAssert)
at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.UI.PageHandlerFactory.System.Web.IHttpHandlerFactory2.GetHandler(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
at System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig)
at System.Web.HttpApplication.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean, completedSynchronously)
What could be problem...
Please help me out
Ramesh Sambari
Knowledge is like honey.
Collect it, to make life sweet.
|
|
|
|
|
First google hit[^]
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I think u not provided your InitializeCulture controls server tag......
may be check now
|
|
|
|
|
How can I get the local machine's IP address in a Test.aspx form ?
modified on Wednesday, September 16, 2009 11:43 PM
|
|
|
|