Serverside COM-Objects In ASP-Sites
is there a way to use COM-objects in ASP-Sites so that the COM-object have to been registered on the serverside only, but not on a remote client?
View Repliesis there a way to use COM-objects in ASP-Sites so that the COM-object have to been registered on the serverside only, but not on a remote client?
View RepliesI have a database and I use asp to load it into a html table.
The first cell of each row contains a button.
What I want is that when a user clicks the button it calls a serverside sub that inserts additional rows from an other table of my database. Problem is that I don't now how to call a sub from the onclick event of the button. And I don't know if it's possible to insert rows in a html table. Does anybody know how I should do this?
Been looking around the web and found some examples but nothing great. wondering if any1 here has seen a script to show a dynamic clock on a webpage that displays server time (this will be for an intranet app). me and my budy have been working on different ideas but to no avail. so in the mean time thought id post to see if any1 has seen 1 or has done one.
View Replies View RelatedI have a usercontrol which contains ajax toolkit controls which I am using in a SharePoint siite. When the user clicks one of the buttons on the page it fires a series of events server side (creates a new project in project server, creates an new SharePoint site ... ) each of which take quite some time. I would like to display the successful completion of each event in the control to so the user can see what progress has been made.
I am struggling to understand how I can engineer the page to perform each task in turn, post the page back after each task has occurred (to update the UI that the task has been done) then fire the next server side event. It's easy to update a control with the status changes but the updated control is only displayed to the user when all of the server side events have completed.
How do i open notepad server side in ASP .i have this so far. Code:
Dim WshShell
'remove the "server." part to run this clientside
set WshShell = CreateObject("WScript.Shell")
'this is path to notepad in win2k
'You should have enough priviledges to run it...
WshShell.Run "c:winntsystem32
otepad.exe"
set WshShell= nothing
I have a new approach to saving charts from server-side Excel when ASP pages are processed. The charts show weather data that is updated every 15 minutes in a database, and instead of just automating the chart production so that every chart is generated every 15 minutes, 24 hrs/day, it seems smarter to generate up to date charts when people want to look at them. But I'm not sure if this is the best approach.
This is what I can do from an ASP page to dynamically chart data:
- run Excel on the server
- open a Worksheet that has a customized chart for a range of cells.
- insert new data in the charted range of cells (chart auto-updates).
- save the chart to a gif file.
- insert the gif into the html page viewed by the client.
Using this approach is convenient because I can customize charts to look exactly as I want without having to find the documentation to automate the chart formatting.
Is it possible to run Excel once on the server, and let all requests for charts use this one running instance of Excel? The alternative is that Excel will run once for each chart request, this seems like it could get out of hand pretty quickly if a lot of people are trying to look at charts at the same time.
Are there better ways to generate charts dynamically on the server?
I'd like to use SSL encryption to provide secure pages in an ASP.NET application. I know I can specify complete URLs (e.g. https://www....), but for several reasons, I'd like to use relative URLs.
Is there a way to do this and if so how? Also, is there a simple way to specify at a "root" level in an ASP.NET app that ALL pages should be secure automatically?
We have been assigned the task of running two ASP sites on the same IIS server. Currently we have site A running as http://SiteA on port 80 as the default site. Can we run another SiteB on port 80 as http://SiteB.? We have created another website as SiteB but if i try to configure it with port 80 it gives an error message that "Another site mayalreasy be using that port".
View Replies View RelatedCold Fusion has this tag called <CFHTTP> which allows you to grab the contents of a web site and put it in a variable. It works well because we can grab our dynamically generated header and display it on our cold fusion sites.
We have a couple of ASP sites and we want to do the same thing for them. However I am not sure if ASP has the same exact type of tag. Does anyone know?
Probably way off the mark here, but I have IIS running on my WinXP machine
and I thought I could host multiple domains over the old Win98 method where
I could only have the one?
All I can see at the moment is that I have a Default Web Site, which is
associated to MyPC, and all I can create is virtual directories/folders
within this default location. This means that instead of me being able to
create the desired effect of: Code:
I am using two copies of that website ... both copies are under same domain but in different folders ... In my site, there are some pages which are not available to everone .. the site requires from a user to enter his/her username and password .. I use session varibles to check if the user is logged in or not on every single page ...
The problem is when I log in the first copy of the site and then move to the second copy ... the second site things that I am logged in !! this is because I use same session varibles name in all copies ... I can fix this problem by changing session varibles names in one of the copies ... but this will mean I have to modify 100 pages ... is there any other solution for my problem?
I'm looking for some code that will enable me to create a updateable web
site. So when I design a the front end all I need to do is drop in some
server variables on the html pages and the asp code does the rest via a
database.
The code would be portable therefore small changes will allow me to apply to
many sites, ideally it should also contain a text editor.Is this feasible ?
I've looked at cms, but this doesn't seem to give enough flexibility or am I
missing something ? and finally asp.net has some sort of portal system
(matrix), how does this fit in ?
For the moment I think the best way forward is this code (or framework) that
will enable the client to update, until a better sollution.
I deleloped a "template" web site for a national organization. They have 2000 members and wish to offer this site to each member. Some members will have their own domain, others will not. Regardless, each site will be hosted on one server by the organization. Here is the problem I am facing. Yesterday, they did their first test of this template. The client sent me this url - http://www.atra.com/~atra_member
When I went to the address, I noticed any reference in the site to a session variable defined in the global.asa was not showing up. From past experience, I seem to remember that the .asa file needs to be in the root web, yes? Seeing as they will have two thousand of these templates on the same server, how can I achieve what I am trying to do here. I want each site to be easily modified for each client. The only thing that needs to change on each site is address, name, tel., fax, etc. I thought a single global.asa file and session variables would do this hence my approach.
I have three PCs connected in a workgroup, all have Windows XP.On one PC, called MF1, I have IIS installed.In IIS I have a virtual directory called dbsite, pointing to a folder c:dbsite.In a web browser I can view the site via http://localhost/dbsite, or http://MF1/dbsite.
how would I allow the other two pcs on the network to access this site.
I have 2 separate web sites on 2 different boxes
www.xyz.com on box 1
www2.xyz.com on box 2
Users log into box 1 via regular ASP/Database authentication, and I keep a session variable to mark authenticated users. There's a link that would send users to box #2 at www2.xyz.com. How do I check whether these users are authenticated or not? I do not want to present a login screen again. Is it possible? If so, what are ways to do it, if not
session/cookies?
We have one domain with a mixture of NT PDC's one Win2K DC (which was the
first installed) and 4 Windows 2003 DC's.
I created our sites as per MS documentation and created the subnets that
match each site. I moved each server into its own site. I then create the
Inter-site transport with IP. I create one call "All Sites" and copied all
sites into it.
Login scripts seem to get replicated eventually. New users don't seem to get
replicated and DC's never seem to find TS license server. There aren't any
messages in the Eventlog on any of the DC's.
If I move all DC's back into the Default_First-Site things start replicating
immediately. Code:
i have one database and 2-3 sites, and i want to connect to this database (access) from all my sites with asp. i have my own server.
View Replies View Relatedwe have a site, that has a link to a online PC cart that we are registered with. Trouble is, when the user goes to the other site, we obviously no longer have our interface wrapped around the page.
We can do this with an iframe, but it wont vertically stretch the content (a scroll bar appears). Is there any way in ASP, to call a url, and say, insert that url into a <td></td> on our page?
How do I block referring sites in ASP using VBScript?Like blocking referrer's from:
192.025.215.001
and
altavista.com
Is there some way to search a remote site. I want to create a site that will take some information from a client in a form, and use that information to search a website and take certian results and display them to the client. I think that travel websites like expedia and last minute work like this.
View Replies View RelatedHow to place advertising banners on say 10 different sites? After clicking on these banner, the control should go to a particular web site. Here do we hv to do coding in 10 different web sites or is there any other procedure?
View Replies View RelatedCould someone help me find a tutorial (or perhaps instuct me) in the proper way to configure IIS 5.1 so that I can design and test (using localhost) multiple web sites. My problem arises when I try to debug ASPs that contain virtual includes which assume that the ASP exists in the default web site.
Since my ASPs exist in subwebs within the default site rather than in the default site, the included pages are not found and my ASPs return errors. I'm sure there must be a better way to do this but so far I haven't found one.
Is there any script that i can use to host multiple sites on my IIS 2003 server?
View Replies View RelatedI'm looking for some script sites that do things like ecards, calenders, journals etc. Do you know which are the top 3 for ASP?
View Replies View RelatedI am currently maintaining a web site for my company's product. The existing site is in English and written in ASP. Currently, my boss plan to add 2 more languages version to the site (Malay and Chinese). So that when user click on the "Chinese" link, the Chinese version of the site will be displayed and click on the "Malay" version, the Malay version of the site will be displayed.
I know that I can either duplicate another 2 sets of the same files with different languages and my job consider done. But the mainatance in the future will be a headache for me. So, I was planning to use XML for this purpose, can anyone show me the proper way that I can learn to use XML with ASP? What type of XML Editor should I use?
Or is there any other way to deal with this purpose? Any good references I can get from the Internet?
I have two sites on my computer. If I display the header information from
site 1, it displays PATH_TRANSLATED as below.
D:kbapplicationprogramuihttpClientPortalkba rticleindex.asp
If I display the header information from site 2, it display PATH_TRANSLATED
as below.
D:kbapplicationprogramuihttpCustomerPortaldi splay2search.asp, except
the here is W with a line going across it. For some reason, when I paste
it here, it changes to , but in IE, it's W with a horizontal line.
I'm making a website that is for logging Treasure sites, and each site has it own GPS coordinate. Like Site#1 has N34'35.3456 W112'45.2345 coordinate and Site#2 has N35'37.3976 W112'44.2265 coordinate and Site#3 has N33'46.3926 W112'49.2855 coordinate. What I need to do is to make a search for sites, by GPS coordinate, that will show up on a list page, that will list all the sites in a radius of 100 miles or so from the entered coordinate, and will list them from the top being the close to the entered coordinate and getting further away from the entered coordinate at the bottom of the list. I have all my sites in a database. So any Ideas PS. I really really like the way that Geocaching.com has there GPS coordinate search.
View Replies View RelatedI have an asp based site which for various reasons has to go in either
Trusted Sites or Intranet under security in IE7. However as soon as I
place it in either of these zoneI can no longer use session variables.
These session variables work fine when it is in the Internet zone. Any
ideas anyone?
I have two sites on my computer. I am using a same page in the two sites.
I set my IE to Korean (testing purpose) encoding for testing
internationalization.
When I hit the same page in two separate sites, one shows the foreign
characters in Korean, but the other shows garbage-looking characters.
I am using the exactly the same page.
I am developing a web site which includes a database containing website URLs. I need to check time to time about the status of these URLs whether those are merged with otherweb sites , renamed or expired. I want to make this process automated and a report generation which directly displays status of each site URL.
View Replies View RelatedI was working with filesystemobject in asp.
When i give filesysstemobject.copyfile the system will be gogin searching indefelty and IIS will get crash..
Why this pblm occurs..
I would like to know if someone has already exchange ASP objects by SOAP with the SOAP Toolkit 3.0 ? Is-it possible ?Because, I have to connect, with ASP, to a Web Service and send to him array of objects.
View Replies View RelatedI'm so glad i finally found a web development forum! It's been a while and it's not easy to find. Until someone recommended this site to me.
Enough about that... I really want to learn about COM objects and don't really know where to go to find out about such things.
If someone could direct me to the right place, i'd be extremely grateful.
I've already learned ASP and PHP (though i have to admit that i am not an expert and I don't think i'll ever be one), but i aim to be a "jack of all trades".