|
Boss How do I call the service through windows service.If yes the it has some time of interval to run for.But i want run it to current task.if i set the interval at least then procees execution time will be more then the time callback time.if I set it 5 to 10 minutes of timer then user is not ready to accept to much time to show the response.
Deepak
Smile a Lots,Its Costs Nothing
|
|
|
|
|
Windows services are expected to run all the time. So there won't be any scheduling. You run each web service call on a separate thread and keep the other thread polling the table. So you don't find any delays in the processing.
Best wishes,
Navaneeth
|
|
|
|
|
I want to know do you have control over other database, I mean lets assume that DB1 is where you are uploading excel data, and post the these details to DB2. So if you have access to that DB then I would suggest right CLR enabled SP which will run at MS SQL server level rather calling it via web application which is very very slow. So to improve the performance you can divide the task and process it in separate places.
Let me know if you need any further details on the above design.
|
|
|
|
|
hi
i am developing a webapplication which is local to my system
when im running the application it is showing that it is executing from
http://localhost:1234/webapplication1
where as my webapplication is in drive D
i know that when a page is requested for first time
the asp.net engine compiles it and converts it to a dll
and for next request the same dll is used
i didnt added the bin folder to my webapplication
now what is the problem is
i changed the code and when i run the application it is showing the old result.
can any give the path for deleting the dll
i m using asp.net 2.0, where i could not find Inetpub/wwwroot
to solve this i uninstalled the .net and reinstalled it but even it is not solved.
|
|
|
|
|
vijaylumar wrote: to solve this i uninstalled the .net and reinstalled it
You have problems in understanding how a file-system website works. Visual Studio 2005 onwards, an inbuilt ASP.NET development server is supplied and used when you create a file system website. If you change the code and do a refresh, you should see the latest updates. In worst case, you may need to stop the ASP.NET development server and start it again. You never need to reinstall .NET framework.
Give us more information about what steps can reproduce your problem so that some one can come up with a solution.
vijaylumar wrote: i m using asp.net 2.0, where i could not find Inetpub/wwwroot
So don't you have IIS installed?
Best wishes,
Navaneeth
|
|
|
|
|
hi
thanks for your reply
where could i find ASP.NET Development Server
|
|
|
|
|
ASP.NET Development Server is inbuilt server launched from Visual Studio, now if you want to publish this web site follow steps mentioned in this link
|
|
|
|
|
hi
i want to restart the ASP.NET Development Server
|
|
|
|
|
When you launch the web site from VS, you will see development server in task bar. That will have options of stop.
Stop the execution of web site from VS and it will stop the development server and relaunch it again. this will take care of restart of development server.
|
|
|
|
|
hi
i got the error like this
BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.masterpage_master'
do u have any idea about this
|
|
|
|
|
This error is code specific, can you share the code so that I can look into it and let you know what could be the error.
Thanks
|
|
|
|
|
hi
this is the code in MasterPage
in source
<%@ Master Language="VB" AutoEventWireup="false" CodeFile="MasterPagePos.master.vb" Inherits="MasterPagePos">
'in code File
Public Class MasterPagePos
Inherits System.Web.UI.MasterPage
End Class
|
|
|
|
|
I need entire code since what you are talking about is code related error.
|
|
|
|
|
hi
actually i got the error like this
BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.masterpage_master'
do u have any idea about this
|
|
|
|
|
I have a Web App project with a few Page items, as well as a UserControl item. I would like to use this UserControl within the Pages, but I can't seem to add it to the Toolbox. When I do a drag-drop, I get a Text element, which is just the filename of the UserControl.
Am I going about this the correct way? Should I instead set up the UserControl as totally separate project and somehow reference it to get into the Toolbox?
|
|
|
|
|
You shouldn't be using the toolbox at all, because it doesn't really generate nice HTML. You should just write the code in your aspx to add it.
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.
|
|
|
|
|
User controls cant be added to the toolbox
To use t just drag the user control directl to the page
Alexei Rodriguez
|
|
|
|
|
As the others have posted, you do not use the toolbox to add your usercontrol.
Instead you drag and drop it, but you may need to be in Design view as you otherwise
will just get a reference to the file.
|
|
|
|
|
OK, I went ahead and added the UserControl to a Panel in a Page, but the UserControl was rendered as just a general rectangle, in which there was the message "Error Rendering Control - An unhandled exception has occured. The directive is missing the 'tagprefix' attribute." When I attempted to execute the Web App, I got an error, "The directive is missing a 'tagprefix' attribute.
So it seems that I need to add this attribute. I have never heard of this attribute before. Shouldn't the IDE add this attribute automatically? Or perhaps this is just a standard Microsoft bug?
|
|
|
|
|
Not sure why it didn't add it automaticly. It should do so.
The tagprefix it is reffering to, must be something similar to this line
<%@ Register src="WebUserControl1.ascx" tagname="WebUserControl1" tagprefix="uc1" %>
which is added at the top outside the tags
You can always add this line yourself. Just name the src, tagname and tagprefix accordingly.
Hope this helps.
|
|
|
|
|
Hi,
This is my first or second post here.
I came across an article that mentioned that is possible to setup either the asp.net server so that it doesn't re-compile on every change.
That files can be changed and then the whole thing can be complied at once.
Does this sound right? and if it does how?
Thanks,
Chris Bishop
Web Developer
GeekPower
|
|
|
|
|
|
What are you talking about??
Tu run yout site just hit F5
If you want to deploy yous app you can use the copy website tool
If you want to deploy your app (Precompiled) you can use the publish wizard, choose the allow this site to be updatable option if needed
Alexei Rodriguez
|
|
|
|
|
What I want to do is use the copy website tool to move files up to the server.
But I don't want the server to auto-compile the files and allow the changes to be seen right away.
I want to be able to get all the files uploaded and then tell it to compile everything and display the changes.
If a few files compile first then people get errors because these files make references that don't exist until the other files
get compiled.
Chris Bishop
Web Developer
GeekPower
|
|
|
|
|
Dont make a big deal out of nothing
Just upload your files during the night, i dont think you have a site with a lot of traffic
Also, you cat take you site offline for a little while and dont let anyone access your site, just put an htm file in the root of your file and name it App_Offline.htm
Alexei Rodriguez
|
|
|
|