| IIS and cross-domain network resource access permissions |
|
 |
Index ‹ Web Programming ‹ IIS
|
- Previous
- 1
- ASP.Net >> Crystal rports - Load Report ErrorI am having problems trying to solve a problem with Crystal Reports.
We have a web site which we have turned into a Web Application using
Visual Studio 2005. We built the installer and added the Crystal
Reports merge module to the package along with the project content and
output.
The package was built and installed on a test server. The server
already had a working copy of he original site (non-web app) which was
working fine including the installation of Crystal Reports we had
performed earlier. The original installation used the Crystal Reports
redistributable module.
After installing the new Web Application we can no longer run any
reports from either the original web site or the new web application.
We now get a COM error loading the report.
Has anyone come across and solved this problem. We have spent a fair
amount of time googling but none of the solutions we found have so far
solved this problem.
Thanks in advance,
Mark
--
|\ _,,,---,,_ A picture used to be worth a
ZZZzzz /,`.-'`' -. ;-;;, thousand words - then along
|,4- ) )-,_. ,\ ( `'-' came television!
'---''(_/--' `-'\_)
Mark Stevens (mark at thepcsite fullstop co fullstop uk)
This message is provided "as is".
- 2
- ASP.Net >> TutorialHi ,
I sure you already have read and answered such type of question but I check
some history and did not find the answer.
Can you advise something for asp.net for start, really start?
I am absolutely new for web development and I want to do some programming on
asp.net.
My previous experience WinApp (vb.net, dbase, ...).
Thanks
- 3
- ASP.Net >> GataGrid Command Link ProblemI have a DataGrid where all the columns can be clicked to sort by that column.
A very strange thing is happening: When the page is first displayed with my
default sort order, a click on one of the ButtonColumn LinkButtons works just
fine.
But if I click on one of the column headings and now my control has been
sorted, if I click on one of the ButtonColumn LinkButtons, I get the wrong
row of data back in the "DataGridCommandEventArgs" parameter to DG_Command().
I get the data from some other row.
Any idea why this might be happening?
Alex
- 4
- 5
- ASP.Net >> Deserialization errorWhere does this error come from and what causes it?
Possible Version mismatch. Type FtsData.Position has 142 members, number of
members deserialized is 102.
I did find a post that refers to serializing in asp.net 1.1 and
deserializing in asp.net 1.0. But that isn't the case here - I am just
doing a post back.
I am doing doing something like the following where Position is the object I
am serializing. I am either creating the object or getting the object from
my session variable. I then put the Session into a Session variable
whenever I leave the page.:
**********************************************************
<script runat="server">
Dim newPosition as Position
Sub Page_Load(sender as Object, e as EventArgs)
if not IsPostBack
Dim sTest as string = Request.ServerVariables("HTTP_REFERER")
if (sTest = "") ORELSE (sTest.SubString(sTest.LastIndexOf("/")+1) <>
"job_posting_new2.aspx") then
newPosition = new Position
session.Remove("newPosition")
PositionID.Text = 0
else
newPosition = session("newPosition")
end if
end if
end sub
Sub Page_PreRender(ByVal Sender As Object, ByVal E As EventArgs)
session("newPosition") = newPosition
End Sub
*************************************************************
How could there be different numbers of objects?
Thanks,
Tom
- 6
- ASP.Net >> Search with drop down listHello!
I have 4 diffrent drop downlist. I want a user to select a value from a
drop down list, and place it in a SELECT statement. How would I put that
value in the select statement. And if the user selects two items, one item
from two diffrent drop down list, how would I do that? Any suggestions would
be great!
TIA!!
Rudy
- 7
- 8
- ASP.Net >> Activex control to upload pictures?Hi,
I need a control to upload pictures to a web server, but I want to compress
them in the client, so I think the best way it's an activex control (like
the one in the microsoft msn spaces).
Do you know if there is any comercial activex control to upload pictures?
(free or comercial its the same for me)
Thank you!
Jesus
http://jbmixed.blogspot.com
- 9
- ASP.Net >> General Security QuestionHey all,
I'm not new to web development, but totally clueless regarding web
security/logins and such. I have a website which requires users to
login, checks their info against a SQL Server backend, then saves their
login as a session variable. As they browse through the various pages of
the site, each page checks to see if the Session variable exists/is not
null, etc. If the check fails, the page redirects them to the login
form.
Question: In general, how secure is my site?
TIA
*** Sent via Developersdex http://www.developersdex.com ***
- 10
- 11
- ASP.Net >> Process Problems - XCOPY ExitCodeHello,
I am attempting to write a Web Method in my Web Service that starts a
process that runs the XCOPY command with passed in parameters. It is failing
on me through code. However, if I take the exact same string it is passing
and past it into a Command prompt, it works perfectly. That told me it may
be a permissions/impersonation issue. I am now running it as a special
ServiceAccount I have created that is a Domain Admin. It still does not
work. I then looked to see if it was returning an error or ExitCode and it
is.
The ExitCode == 4 which for XCOPY means "Initialization error occurred.
There is not enough memory or disk space, or you entered an invalid drive
name or invalid syntax on the command line."
Here is my code and the output follows - Can anyone help me here? Do I
really need impersonation or is it some other fix?
FYI: The AddSQLStatement method is simply a way I store information in a
string array for extraction later to determine what happens in my code.
string sXCopy = "\"" + sBaseFolder + sSourceFolder + "\"" +
" \"" + sBaseFolder + sDestination + "\"" +
" /E /V /C /I /O /Y /K";
AddSQLStatement("XCOPY: " + sXCopy);
AddSQLStatement("USER: " + System.Environment.UserDomainName + "\\" +
System.Environment.UserName);
AddSQLStatement("User: " +
System.Security.Principal.WindowsIdentity.GetCurrent().Name);
try {
Process oProc = new Process();
oProc.EnableRaisingEvents = false;
oProc.StartInfo.FileName = "XCOPY";
oProc.StartInfo.Arguments = sXCopy;
oProc.StartInfo.RedirectStandardOutput = true;
oProc.StartInfo.UseShellExecute = false;
oProc.Start();
AddSQLStatement("StdOut: " + oProc.StandardOutput.ReadToEnd()); ////
oProc.WaitForExit();
AddSQLStatement("Exit Code: " + oProc.ExitCode.ToString()); ////
} catch(Exception e) {
AddSQLStatement("XCOPY Error: " + e.ToString());
exLastError = e;
} // try-catch
<<<<<< This is the output >>>>>>>>
Exit Code: 4
StdOut: 0 File(s) copied
User: CSDomain\ServiceAccount
USER: CSDOMAIN\ServiceAccount
XCOPY: "\\Cochise\JobFolders\_FolderTemplate"
"\\Cochise\JobFolders\6126_Test25e" /E /V /C /I /O /Y /K
--
Thanx,
Grigs
- 12
- ASP.Net >> ASP.NET and SQL Server Language ProblemHaving con as an open connection I try to execute the following code
Dim strSQL_NewSender As String
Dim cmdInsert As SqlCommand
Dim intRecIns As Integer
strSQL_NewSender = "INSERT INTO SENDERS (SndName, SndEmail) VALUES
(@SenderName, @SenderEmail)"
cmdInsert = New SqlCommand(strSQL_NewSender, con)
cmdInsert.Parameters.Add("@SenderName", txtSndName.Text)
cmdInsert.Parameters.Add("@SenderEmail", txtSndEmail.Text)
Response.Write(cmdInsert.commandText)
intRecIns = cmdInsert.ExecuteNonQuery()
con.Close()
Unfortunately when in the TextBox txtSndName I enter greek characters in the
sql server table (SENDERS)
a blank value is stored. When i use english characters it is stored
successfuly.
The database collation is greek_ci_ai and I'm using
windows-1253 (greek) encoding in the aspx script.
I must note that the above script is executed within a control ascx file.
the control called from an aspx file which has the windows-1253 encoding.
How can I fix this vulnerability?
- 13
- 14
- Frontpage Client >> Cannot run the FrontPage Server Extensions on this pageHello to everyone,
i receive the following error message when i'm trying to submit a feedback
form.
Cannot run the FrontPage Server Extensions on this page:
http://www.greek-properties.biz/contact.htm
I have tried the Microsoft Knowledge Base Article - 320872 but it didn't
solve my problem.
Any help would be highly appreciated
thanks in advance
Thanasis
- 15
- Frontpage Programming >> Ascending/desecending order in "OPEN" has changedHi Folks,
Until today my alphabetical list of folders/files started
with "A" when I opened (using "OPEN", naturally)one of my
projects' folders/dir's.
However, as of today I opened my FP2002 in the usual
manner and all the lists start at the top of the list
with "Z"!!
No other apps have chaned their listing order, so I'm
stumped as to the cause of this.
Is it the end of life as we know it? NO! But it certainly
is annoying!! =8*}}
Any ideas as to a fix??
Thanks in advance....... Mark
|
| Author |
Message |
otterpops

|
Posted: Wed Apr 25 23:03:59 CDT 2007 |
Top |
IIS >> IIS and cross-domain network resource access permissions
I have a web app in one domain trying to access files on a server in
another domain. What permissions do I need to set on the files so
that IIS can access them? The servers are both 2003 and the app is
VS .NET 2003 written in VB. Thanks!
Web Programming174
|
| |
|
| |
 |
Ken

|
Posted: Wed Apr 25 23:03:59 CDT 2007 |
Top |
IIS >> IIS and cross-domain network resource access permissions
a) Do the domains trust each other?
b) If the answer to (a) is "yes" then this is nothing more than a simple
cross-domain permissions problem to solve. The user account that you are
running your application under on Server1 needs to be given permissions to
the share on Server2. The fact that the machines are in different domain is
irrelevant if there is a two-way (or even a one-way) trust between the
domains.
Cheers
Ken
--
My IIS Blog: www.adOpenStatic.com/cs/blogs/ken
<EMail@HideDomain.com> wrote in message
news:EMail@HideDomain.com...
>I have a web app in one domain trying to access files on a server in
> another domain. What permissions do I need to set on the files so
> that IIS can access them? The servers are both 2003 and the app is
> VS .NET 2003 written in VB. Thanks!
>
|
| |
|
| |
 |
| |
 |
Index ‹ Web Programming ‹ IIS |
- Next
- 1
- 2
- 3
- ASP.Net >> Deploying Reports (Crystal)ASP.Net 2005
Hi all
I have a page that uses the Crystal Reports Viewer control, the reports
themselves are held in another (referenced) project.
How exactly do I deploy these reports with my web-site?
Thanks
Kev
- 4
- ASP.Net >> Set Values on child controls on a formview> I wish to get and set values on child controls on a formview.
>
> For example. Changing the text in textbox. Hiding or unhiding child
> controls based on user. Replacing a blank with a default or calculated value
> that will need to be generated at runtime.
>
> It seems as though this should be thoroughly documented, but I'm not finding
> much.
>
- 5
- 6
- IIS >> IIS v5.1 in XP is unresponsive.IIS V 5.1 on new installation of XP Pro. does not respond.
All tests indicate that the server is listening, but it
does not respond to requests from the browser, or from
telnet prompt.
Based on port scan port 80 as well as others are
listening.
Please advise.
Thanks in advance.
- 7
- Frontpage Client >> HyperLink MadnessI am building a web page, when I click on "follow hyperlink" it works great, when I clik on the icon to go to the hperlink, it does not function properly, it comes up and asks me to open the file I am trying to access. Why does it work greeat when I "follow Link"? Why doesn't it perform the same when I click on the Icon in preview mode. I have saved the page I am building, I have not published it to a server yet.
- 8
- ASP/Active Server Pages >> How to listHi, I need the following results:
NameOfExam1 NameOfExam2 NameOfExam3 ...
NamePacient
12/10/2007 01/01/2007 ...
Paul 12/12/2007 01/03/2007 ...
20/12/2007 01/03/2007 ...
... ...
... ...
So I have some tables:
PacientTable:
Code -> AutoNumber
Name -> char(50)
ExamTable:
Code -> AutoNumber
NameOfExam -> Char(50)
ScheduleExams:
PacientCode -> Number PK
ExamCode -> Number PK
DateScheduled -> DateTime PK
if I feed the tables with the example showed above, we'd have:
PacientTable:
1 Paul
ExamTable:
1 NameOfExam1
ScheduleExams:
1 1 12/10/2007
1 1 12/12/2007
1 1 20/12/2007
I cannot think a logic to list the table above on <table>trs and tds
Should it be done using more than 1 recordset? What you suggest? Can you
help me ?
Thanks a lot!
- 9
- IIS >> iis server problem. pages not showingI have the follwing problem. I have a Winxp pro SP2.
So, when i try to write in the browser http://localhost or http://127.0.0.1
the
internet explorer replies me:
The page cannot be displayed
The page you are looking for is currently unavailable. The Web
site
might be experiencing technical difficulties, or you may need to
adjust your
browser settings.
Cannot find server or DNS Error
Internet Explorer
Any idea, to solve my problem???
i have tried pinging my server and it replies but i don`t think iis
is
running as when i try to restart it, it doesn`t.
it says it is running but i know it isn`t as smtp and worldwide web
publishing aren`t running.
i have tried netstat and it says on localhost it is in a close_wait
state. i checked my event logs and it says the service metabase path '/
lm/w3svc/' could not be opened. the data is in error code. and same
for smtpsvc.
the log file shows
Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 116
Date: 5/13/07
Time: 3:51:32 PM
User: N/A
Computer: OSOBASE
Description:
The service metabase path '/LM/W3SVC/' could not be opened. The data
is the error code.
For additional information specific to this message please visit the
Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 03 00 00 00 ....
and for smtpsvc
Event Type: Error
Event Source: SMTPSVC
Event Category: None
Event ID: 116
Date: 5/13/07
Time: 3:53:26 PM
User: N/A
Computer: OSOBASE
Description:
The service metabase path '/LM/SMTPSVC/' could not be opened. The
data is the error code.
For additional information specific to this message please visit the
Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 03 00 00 00 ....
i have no firewall and the iis default pages are not opening so i know
its not my asp causing the problem.
pls any help would be appreciated.
- 10
- 11
- IIS >> IIS Installation from MS download W2KSP2I tried to add IIS from "Add/Remove Programs" and got
prompted for a disk from Service Pack 2. I downloaded
W2KSP2 from the MS site and extracted the files. When I
run the "Add/Remove Programs" utility, I am prompted for
the location of the files, but it seems they are not
included in that download. Any suggestions?
- 12
- Frontpage Programming >> FrontPage Is Okay, But...FrontPage is fine, for anyone who is just satisfied with the Web
Development limitations. Maybe this is reason why the Microsoft does
not use their own program, Frontpage, to create its own websites.
Although this program is better than the NetObject's Fusion, I am
exploring other applications such as Flash and Adobe GoLive and
AfterEffects. Of course, it is going to take longer to self-learn
these programs than MS Frontpage, but I am ready to be enlightened.
That said, you can still accomplish QUITE a bit with the Frontpage
alone and here is a site to prove it: http://www.urunique.tv. Since
Adobe and Macromedia have now merged, I cannot wait to see what they
will come up with for the Website makers like us here.
--
Pray4OurTroops
------------------------------------------------------------------------
Posted via http://www.forum4designers.com
------------------------------------------------------------------------
View this thread: http://www.forum4designers.com/message278841.html
- 13
- 14
- ASP.Net >> Difference between HttpContext.Current.User.Identity and identity ImpersonationHello Group,
I using impersonation on my web app. I am explicitely setting the User with
the identity element in the web.config like this:
<identity impersonate="true" userName="MyUsr" password="MyPass" />
But if I ask for HttpContext.Current.User.Identity.Name it returns my
personal Login name, in the format DOMAIN\USERNAME.
Shouldn't they be the same? Shouldn't it return MACHINE\MyUsr?
Tks to all the replies,
Giovanni Bassi
- 15
- ASP.Net >> cache and httpsI'm am finding it hard to find in black and white the answer to the
following question, are files like javascipt and css files cachabled
when on a pure https site?
Any links to full explinations would be great, also any one know what
the go on authenicated sites too, if forms authentication (.NET) will
make a difference?
|
|
|