|
In caption of the message it is displayed
"Photo Not Found",
So I think the photo named "splash800.jpg" is not
loading in the application from it's path.
(May be the path of the image of name of the image is wrong...)
Hope this will help!
Jinal Desai - LIVE
Experience is mother of sage....
|
|
|
|
|
Thanks for testing this. Obviously the problem is worse than I thought, and not just something that suddenly turned wrong on one of my machines (my development machine).
The "Photo Not Found" is my caption on my MessageBox, from my Silverlight application. All of the words after the word, "Reason" are from the exception handler in the event, System.Net.WebClient.OpenReadCompleted, which I call e. The expression, e.Error.Message supplies the words, "The Website may not be granting access to its files from your computer."
The URL I'm passing to WebClient.OpenReadAsync() is the following:
http:
If you type that URL into your Web browser, you will see the image pop up. So the paths I'm sending to WebClient.OpenReadAsync() are valid and the Website itself is not restricting access. The question then becomes, why all of a sudden is the call to WebClient.OpenReadAsync() failing on some machines? And why doesn't it fail on my other machine? The machine it's failing on is running Vista and the machine it doesn't fail on is running XP.
I must have done something in the Silverlight application that somehow is changing permissions that only affects some machines, and maybe it is operating system dependent.
Anyone have any ideas? What should I be looking for?
|
|
|
|
|
I figured out your problem, dude. You needed a clientaccesspolicy.xml file in the root of your Website. That fixed the problem.
|
|
|
|
|
This requires a bit of explanation.
My company's main website sits on a 64-bit server and runs under IIS6. The code libraries in the BIN folder were compiled using Visual Studio 2005 Professional, so they use the 2.0 framework. As far as I can tell, the code is 32-bit (I'm not sure how I would tell.) It is a complicated mess, with custom membership user and provider classes, new base classes for master and child pages, web parts, web controls, etc. However, it all works just fine.
We have some web pages that run on a 32-bit server because they use third-party components that, for whatever reason, are not cross compatable. They worked fine a few years ago when the main website was on a 32-bit machine, but caused lots of problems when we migrated. These components work when run standalone on the 64-bit machine, and the vendors insist they will work as web components in a fully 64-bit environment.
We are looking to overhaul our website. One of the projects will be to consolidate code libraries that have accumilated over the last six years, eliminate redundancies, etc. Since these would be rewritten anyway, discussion has turned to creating a fully 64-bit web environment, consolidating the two servers and ditch the 32-bit environment.
So, my questions:
Would we need a special version of VS to compile 64-bit code?
Would we need to upgrade IIS so that it will run as a 64-bit service?
Are there any caveats I should know about?
Is this an exercise in futility that will result only in me losing even more hair?
|
|
|
|
|
|
Thanks for the links, looks like some useful information here.
|
|
|
|
|
Trying to have two check boxes per line, where each of the check boxes performs a separate action. Have tried a few things with out much luck.
Here is what I have currently, which includes the second check box, but no attempt at applying an action to it.
<form name="hostlist" action="/cgi-bin/do-this.cgi" method="POST">
system1 <input type="checkbox" name="prod-monitor" value="n/a">Production
<input type="checkbox" name="dr-monitor" value="system1.domain.com">DR<br>
system2 <input type="checkbox" name="prod-monitor" value="system2.domain.com">Production
<input type="checkbox" name="dr-monitor" value="system2.domain.com">DR<br>
<br>
<input type="submit" value="Restart Browsers">
</form>
Thanks in advance.
|
|
|
|
|
What action do you want? It isn't clear what you are having difficulties with.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Sorry about that. What I started with was a list of checkboxes that all called a cgi script. That is this part...
<form name="hostlist" action="/cgi-bin/do-this.cgi" method="POST">
What I would like to do, is have two boxes next to each other, but have the second one call a different cgi script.
Thanks again.
|
|
|
|
|
You could wrap each checkbox in its own form element or a possibly better solution would be to handle the change event with some JavaScript and change the action of the form.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
My codeigniter project is in live.
I have two copies of it. One in the root and another in a subfolder.
Both are configered to work normal.
The root copy if the one which was made after testing in a subfolder.
While running from the a subfolder all worked well.
But when copied to the root folder the default controller is loading for all requests.
But were as in subfolders and in other servers it is working well.
It is like the following
A true copy in root folder like http://sitename.com
and another true copy in a subfolder like http://sitename.com/abc
when requesting like this http://sitename.com/gallery the default controller is loaded instead of gallery controller.
When i tried like this http://sitename.com/index.php/gallery/ then it worked well...
but http://sitename.com/gallery/ is showing only the default controller. that is the index page.
here is my htaccess...
php_flag magic_quotes_gpc off
php_flag short_open_tag on
RewriteEngine on
RewriteCond $1 !^(index\.php|images|css|static|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
The server is
Linux barracuda.elinuxservers.com 2.6.27.18-21 #1 SMP Tue Aug 25 18:13:37 UTC 2009 i686
PHP Version 5.2.9
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
In the CodeIgniter's application/config folder, open the config.php file and change the $config['base_url'] so that it reads something like
$config['base_url'] = "http://sitename.com/index.php/";
then this
http://sitename.com/gallery
should work as expected.
modified 1-Aug-19 21:02pm.
|
|
|
|
|
If i modify like that then all the links will have index.php in it. isn't it?
I dont want to have index.php in urls and that is the reason i use htaccess...
Besides
I got this idea from my colleague ...
In the above htaccess i replaced the last line
RewriteRule ^(.*)$ index.php/$1 [L]
with this
RewriteRule ^(.*)$ index.php?$1 [L]
The modification is i changed the index.php/ to index.php?
and the pages loaded as expected.
Will there be any side effects cause of the above modification?
Today's Beautiful Moments are
Tomorrow's Beautiful Memories
|
|
|
|
|
|
I'm new to Microsoft Dynamics CRM. I know that I can develope and customized on it using .Net [Visual Studio 2005 or 2008].
My question is: Do I have to install visual studio on the server along with MS CRM, and open visual studio from the server to create the applications?
Is there a way to work from my own personal computer and then deploy my application on the server afterwards.
Thanks
|
|
|
|
|
It depends on what you want to do.
However, it sounds like you need to read up a lot on CRM before doing anything else. It is not something to just jump in and start programming against.
Have a look for the CRM SDK (basically you have to do everything using that).
We use about 4 related projects that we share through source control and develop on our own machines.
|
|
|
|
|
user needs to be able to log in and be directed to a gallery that is specific to that log in. The admin needs to be able to change these id's periodically as well.
The biggest issue for me is how am I going to redirect to a specific directory on their site without having the address be http://mysite.com/gallery1 or http://mysite.com/gallery2 and have the directory only be accessible by people with the correct login.
thx,
M@
|
|
|
|
|
It depends what environment you are working with. ASP.NET has built-in security such as this. PHP, you'll have to find some code or do it yourself.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Sorry, I should have put that in the original post. I'm pretty sure it's a linux server which means PHP.
|
|
|
|
|
|
Hi guys and gals. I currently have a site that is secured with SSL and is viewed through a non secured frame http://blah/main.html loads https://app.blah.com/ and i'm fairly certain everything is secure.
What i want to do now is have a https://secure.blah.com/main.html which loads http://newApp.blah.com/ I just have no idea if newApp will be secure or not even though the frame that loaded it is using SSL.
I know using https for newApp would work, but we have to host app and newApp at the same time and dont want to buy a ssl cert for the newApp site while we phase out app. There are some other reasons why the boss doesnt want to buy the ssl certs for newApp, but if it wont be secure otherwise we may not have a choice.
Our users were complaining bout not having a padlock show up in the browser when they logged in, even though the login and every page past it was using https.
Any help or suggestions on how to make this work would be appreciated.
John
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Does your company own blah.com? You can get certificates that work on *.blah.com. If you don't use an https URL for newApp all data sent to and from newApp will NOT be secure. A secure frames page is pretty useless. It's like putting a deadbolt on a sliding glass door and removing the glass. The door frame is secure, but nothing that goes through it is secure.
|
|
|
|
|
Yeah we own it, like i said the only reason we want the secure frame is to appease the users, and some other people, by having the lock show up in the browser. Does anybody have an article or something that talks about this, i dobut they'll just take my word for it.
Thanks for the good answer btw.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Bit of a no-brainer isn't it.
To be secure you have to use SSL, and hosting the real unsecured app inside a secure frame will not do the job. It's all about server communication not what shows in the browser.
On another post I see you only want it to look secure to appease some people. Well, the same holds. If it is secure it is secure, if it is not then you should not pretend. To use the example on another reply, that would be like putting a photo of a padlock on your shed and hoping no-one realises it is not real.
|
|
|
|
|
I didnt think it would work the way they wanted, maybe its time to get one of those wildcard certs.
unfortunatly the people who use are site are "tech" people because they took a computer class in HS and if they dont get their lock symbol they call and complain and dont listen to reason, so now we're adding it to shut them up. I didnt know if it would work or not, it didnt seem right to me so i asked. Now i have a couple solutions, thanks for your help.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|