|
dear lozano
i add a web refrence in my web application and select this web service. the app. recognize it and its methods but when i run the app. that error occurs.
i test very simple web service (hello world) but nothing chenged.
i think there must be something that allow the app to use the web services methods.
thanks alot
|
|
|
|
|
Try setting Credential property to CredentialCache.DefaultCredentials
Thanks,
Anand
|
|
|
|
|
Hello
Reporting services
-ASP.net
-C#
I was wondering if anyone had any info on how to set up MS reporting services to be Form authenticated insted of windows authenticated
I have recently constructed a group of reports that are being accessed from an application.
these reports have been set up to prompt for a windows password when ever someone tries to view them. The application i have created has its own custom log in screen that prompts a user for pw and user name that is verifed, once the user logs in i dont want then to have to log in a second time to view a page containing a report, The msdn site gives instruction on how to have your reports server set up for Form authentication
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsql2k/html/ufairs.asp
I have followed these instructions and am left with an error as follows.
"Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
..."
i have followed the instruction several times and each time has produced the same result.
i was wondering if anyone had any info on how to set up MS reporting services to be Form authenticated insted of windows authenticated
|
|
|
|
|
How can I dynamically install Microsoft loopback adapter programatically in C#, if so, can i have multi-instances of it?
and what would be the way to configure its IP address, media type, etc. through run-time.
|
|
|
|
|
Hi
I am generating small report in html using combine with MFC. Problem is when my report is printing page is ejecting automatically so how can i prevent page eject automatically in HTML because next report will be print in current page ?
|
|
|
|
|
Can CSS Print profile[^] help? (page-break) I don't have lot experiences with it so your report is welcomed
best regards,
David 'DNH' Nohejl
Never forget: "Stay kul and happy" (I.A.)
|
|
|
|
|
Im making a testing server on my WXP
machine.
I have installed IIS and php (w/ default options)
and im trying to get/store information
from my MS Access db via odbc. I setup a
sysem dns entry and it works fine reading
database, but i am unable to save any
information via for example INSERT INTO
query. Test.php file was set read/write/
script execute privileges, but it doesnt help.
I was looking in MSDN, and found, that maybe
my windows account which is used to access
files from my local server doesnt have
enough privileges to write. I check out
local securty policies but was unable to
find entry regarding this matter.
thank you in advance for any help
im sure the answer is trivial
thinman
|
|
|
|
|
Hi there!
Try reset permission of your web-dir (ex: wwwroot/your-dir).
- right click on "your-dir" dir and choose "All Tasks" menu, click "permissions wizard"
- Next -> choose Inherit all security settings
-> Replace all directory and file permissions (recommended) -> next ...> finish
I use WinXP sp2, iis
I'm an beginner !
|
|
|
|
|
Hi,
Can u plz tell me that why this script doesn't work if I uncomment the commented line.
<HTML>
<HEAD>
<TITLE>JavaScript Test</TITLE>
<SCRIPT language="JavaScript">
<!--
function clock()
{
var today=new Date();
var hr=today.getHours();
var min=today.getMinutes();
var sec=today.getSeconds();
if(hr < 10)
hr=" "+hr;
if(min < 10)
min="0"+min;
if(sec < 10)
sec="0"+sec;
var el=document.getElementById(1);
el.innerHTML=hr+" : "+min+" : "+sec;
document.clock.digits.value = hr + " : " + min + " : " + sec ;
//document.write(hr+" : "+min+" : "+sec);
setTimeout("clock()",1000);
}
//-->
</SCRIPT>
</HEAD>
<BODY bgcolor="white" onload="clock()">
<div id="1"></div>
<FORM name="clock">
<INPUT type="text" name="digits"size=8 maxlength=8 value="Loading">
</FORM>
</BODY>
</HTML>
|
|
|
|
|
Naturally document.write(...); is placed in blocks inside the <body>. As the browser loads the html document if it finds a <code>document.write(...);</code> code it appends the dynamically generated content and continue loading the rest of the document.
What happens here is that the write() function is called through the onload event. Browser does not know where to place the new content since the parsing has allready ended. So it just replace the current document with the new one. (you assume it sould append it to the end, right? )
In IE the next fire of timer can't find the clock() function and gives you a jscript error. In mozilla the timer is clear along with the document.
Try removing the onload event and put a <script>clock() before . Now the first call to clock() does what you wanted, but the first fire of timer replaces the document since the caller (timer event that is..) can not be located as a place in the loaded document.
you might call clock() within a loop but this also fire a 'script taking to long' box.
I also try document.write("time is:"+hr+" : "+min+" : "+sec+""+clock+"");
but by the time document.write is called, everything else is lost.
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
You said:
What happens here is that the write() function is called through the onload event. Browser does not know where to place the new content since the parsing has allready ended.
Then why it does not happen with div and form element.
As I am new to javascript I require more clear explanation.
Thanks
Ranjan
|
|
|
|
|
The write() function was intend to create dynamic content during the document load.
<body><br />
line1<br/><br />
<script>document.write('hello world!')</script><br/><br />
line 3<br/><br />
</body>
This is what you see:
line1
hello world!
line3
As you can see the code is executed and the result is placed right when it is encounter. If the write() function is called due to an event then where should it place it's result?
- - - - - - - - - - - - - - - - - -
Memory leaks is the price we pay \0
01234567890123456789012345678901234
|
|
|
|
|
Thanks a lot for your very clear response.
Ranjan
|
|
|
|
|
I need some advice.
When I am retrieving data from a database and displaying it in the following manner:
<OBJECT id=OBJECT1 name=Conn RUNAT="server" PROGID="ADODB.Connection"></OBJECT>
<OBJECT id=OBJECT2 PROGID="ADODB.Recordset" RUNAT="server"></OBJECT>
<script language="VBScript" runat="server">
'open up the recordset and display the data in a textbox
response.write "<input type='text' name='whatever' size='25' maxlength='20' value='" & object2.fields("Whatever") & "'>"
</script>
The text displayed is sometimes only a part of the text retrieved from the database table and sometimes is the full text.
Sometimes when the full text is displayed and every time only partial text is displayed, you cannot add more text to the text box without going to the last character in the string and holding down the DELETE key for a second.
Is there any help for this?
|
|
|
|
|
|
I'm working on a project which requires multiple language support.
Until now i've been using PHP define and using the MACRO throughout my code instead of hardcoded values.
This makes using translation files much easier, however this is not optimal either, because of other techniques i'm using...
Anyone have any experience with this???
Any articles on how do it better, etc...
Thanks
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
A simple method can be found in http://phpmailer.sourceforge.net/
They simply use several language .php files e.g.
$PHPMAILER_LANG = array();<br />
$PHPMAILER_LANG["provide_address"] = 'Voc?eve fornecer pelo menos um endere?de destinat?o de email.';<br />
$PHPMAILER_LANG["mailer_not_supported"] = ' mailer n?suportado.';
look for function SetLanguage in class_phpmailer.php and then use the array to get the relevant language string
"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Neils Bohr
|
|
|
|
|
Ted Ferenc wrote:
"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Neils Bohr
That was my first sig here on CP, but I think I quoted it as:
"An expert is a person who has made all the mistakes in his/her own field"
I can't remember if I quoted verbatim (obviously not, cuz yours sounds a ilttle more formal) or I just modified it from what I remembered the quote to be.
Cheers
It's frustrating being a genius and living the life of a moron!!!
|
|
|
|
|
I get a daily rss feed with quotes from http://www.quotationspage.com/data/qotd.rss some are superb, almost better than Dilbert!
"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Neils Bohr
|
|
|
|
|
Hi
How can I send an Email with file Attachments in PHP 4.x ?
I found an article :
http://www.sitepoint.com/print/advanced-email-php
but is there any more direct way to do so ?
|
|
|
|
|
try googling for 'php class email attachment' here is one that looks interesting
http://phpmailer.sourceforge.net/
"An expert is a person who has made all the mistakes that can be made in a very narrow field." - Neils Bohr
|
|
|
|
|
I built a website using a "web wizard" program from Network Solutions. This program does not require the user to have HTML knowledge.
I asked Network Solutions how to install background music on the site. I was told they could not help me but that it is possible. From what I could understand their server is not accesible due to the "web wizard" program and HTML knowledge is needed.
How can I do it?
|
|
|
|
|
If you can put HTML in, you should be able to do the following:
<embed
src="somefile.mp3"
autoplay="true" loop="true"
width="200" height="45"/> I don't know about browser compatibility, but there's also the bgsound tag which has src and loop attributes.
Michael Flanakin
Web Log
|
|
|
|
|
PLease kindly list out the special feature in HTTP1.1
and kindly explain me breifly can i have internal auto refresh in my web page, for example can i refresh the a particular data in my page without posting the whole page...
such as refreshing a cricket score in home page, polling results in page etc...
thank you, waiting for reply...
FaxMan Jr
|
|
|
|
|
your question totally depends on where the code is executed. Client side processes like Javascript runs on the client and can go out and poll information without posting back the entire page. Server side code like ASP.NET requires the page to be posted back so the server can poll the information and process it.
if you want the page to auto-refresh you can add line to the header to do this, but it posts back the entire page.
If you're looking for some sort of scrolling score update or stock ticker type of deal that updates without a postback it must be a client side process.
'Cause I'm living on things that excite me, be it pastries or lobsters or love... I'm just trying to get by, being quiet and shy, in a world full of push and shove...
Jimmy Buffett - The Wino and I know
|
|
|
|