Re: E-mailing SMS Reports
- From: Marin Marinov <marin-online@xxxxxxxxxx>
- Date: Mon, 14 Nov 2005 14:42:03 -0500
In article <58EA80C3-7DA8-49C2-AB66-80D69DEACD05@xxxxxxxxxxxxx>,
Chris@xxxxxxxxxxxxxxxxxxxxxxxxx says...
> We have SMS 2003 SP1. We have modified the default port(80) that our site
> uses and everything is working fine. When we generate a report and then
> click "E-mail" at the top of the report, it opens an untitled mail message
> and adds the URL of the report to the body of the mail message - all good.
> However, it doesn't add our new default port to the URL. Recipients of the
> e-mail will get "Page cannot be displayed" when they click on the link unless
> we manually add the default port to the URL. Does anyone know how to fix
> this?
>
>
Hi Chris;
Most likely not supported my Microsoft but you can edit the Report.asp
file to accomplish that:
1) Open \Inetpub\wwwroot\SMSReporting_<site code>\Report.asp in Notepad
2) Search for "sBody ="
3) Change the portion
Request.ServerVariables("SERVER_NAME") & Request.ServerVariables
("PATH_INFO")
to (replace 1234 with the port you are using):
Request.ServerVariables("SERVER_NAME") & ":1234" &
Request.ServerVariables("PATH_INFO")
There is probably a way to get the actual server port from the request
so you don't have to hardcode the port but I don't know the appropiate
variable off the top of my head.
HTH
--
Cheers,
Marin Marinov
MCT,MCSE,MCSE:Security,MCP+I
-
This posting is provided "AS IS" with no warranties, and confers no
rights.
"True knowledge exists in knowing that you know nothing."
Socrates
.
- Follow-Ups:
- Re: E-mailing SMS Reports
- From: Marin Marinov
- Re: E-mailing SMS Reports
- Prev by Date: Re: Problems with Computers discovered
- Next by Date: Re: E-mailing SMS Reports
- Previous by thread: Re: audit remote connection
- Next by thread: Re: E-mailing SMS Reports
- Index(es):
Relevant Pages
|