SSRS Web Front End - sql-server-2008

Morning,
For some reason when I browse to http://servername/ssrs I now get a directory listing of the folders within my SSRS installation. This does include all of our reports.
Does anyone know why I'm not seeing the web front end anymore?
-- There's a possiblility that the virtual directory was changed (and then changed back again!) but I can't see how this would affect things?
Thanks in advance,
Jim

Sussed it.
The web service virtual directory and the report manager virtual directory were the same.
When the user borwsed to the URL they were presented with the web service "view".
Making them different fixes the issue!

Related

Change domain name on existing WP site

I recently had a developer populate a WPLMS site for me hosted on my HostGator account.
www.midwifecafe.co.za
I did explain at the time that I wanted the site developed my main url
www.midwifecafe.com
I would then simply setup a re-direct from the .co.za to the .com domain.
The site was developed on the .co.za url and the developer now tells me he cant manage to have the site hosted on the main .com url
He now left high and dry, he's been paid and wont help anymore.
I am unsure what to do? Is this a problem or something I can resolve?
Would appreciate any advice.
First of all, that developer is a jerk. This should take him 10 minutes max to do, assuming he knows how (he probably doesn't). Sorry for your bad experience.
The ultimate answer depends on a few things, like how your site is setup, etc. However generally, one of my favorite tricks for this is a little script called Search Replace DB --https://github.com/interconnectit/Search-Replace-DB.
Here's what you do:
BACKUP EVERYTHING. Yes, EVERYTHING
Move your site files to the new host, where the .com version will live.
Move your database to the new host
Edit your wordpress site's wp-config.php file to use the new host database information for dbname, user, password, and server (probably localhost on Hostgator).
Upload the search replace db folder to the root of wordpress, then access the folder in your web browser. Follow the prompts to fill in what you want to search for (www.midwifecafe.co.za) and what you want to replace it with (www.midwifecafe.com). If you're not familiar with Github, you can download the search replace script here: https://github.com/interconnectit/Search-Replace-DB/archive/master.zip, which you'd then upload to your server in it's own folder and unzip it
If you run into issues, first you have a backup (see step 1), secondly you can run through their github page for tips and help.
Once the search and replace for the domain name runs successfully, you'll want to do two things.. DELETE THE Search Replace FOLDER. This is super important. Leaving it there is a big-time security risk. And lastly, you'll probably need to login to WordPress admin and visit the Settings > Permalinks page to generate the proper URLs on your new host.
Hopefully that's some help! Good luck!
I would then simply setup a re-direct from the .co.za to the .com
domain....
Doesn't work that way with WordPress. But it is straightforward to move a WordPress site from one domain to another; it involves changing the URLs in the database. That's the most critical part.
But a move may also involve moving files at your host (this depends on your hosting setup) from one folder to another; you didn't say if you are staying on the same host or moving to another host at the same time as the domain change
Read the official docs Moving WordPress « WordPress Codex and take a look at WordPress Serialized PHP Search Replace Tool, which it sounds like you will need.
I think from your question which was not completely clear, that you want to me your wordpress website from one domain to another.
If so you can do the below manually:
Download all the files from your old domain
Upload the downloaded files onto your new domain
Export database from old domain account.
Go to new hosting account, create a new database with username and
password.
Open up PHPMyAdmin and Import the database that you exported into
the newly created database.
Open up phpmyadmin an and go to the wp_options table. Replace the
site url and home url rows with your .com domain address.
Then open up SQL option in phpmyadmin and run the following:
UPDATE wp_posts SET guid=REPLACE(guid,'www.midwifecafe.co.za','www.midwifecafe.com'); UPDATE wp_posts SET post_content=REPLACE(post_content,'www.midwifecafe.co.za','www.midwifecafe.com');
Now open up your wp-config.php file in ftp and edit it to suit the
new database name, username and password. For additional measures
you can also add the below to wp-config.php:
define('WP_HOME','http://www.midwifecafe.com');
define('WP_SITEURL','http://www.midwifecafe.com');
Check your .htaccess file and make sure there is no mention of your
old domain.
Now run your website and see if that fixed your issues.

creating and uploading an application into facebook apps

I recently created a HTML5 game locally on my PC. Then, I went to the Facebook developer website and created a new application but it asks you about the link to the application.
My application is local and I don't have any hosting website. I tried to upload it via jsfiddle, but they didn't accept it as a valid link. What should I do?
I suggest reading the Getting Started manual on Facebook Help Center, that will get you started very well. Make sure you follow the steps and search for more information there.
You are not able to use JS Fiddle for your Facebook application, you need to have some website to host the application in. There are several cheap (some free) web hosts, which you can use for hosting. It is always better if you can buy your own web domain and host, this way it's guaranteed that it will work.
When you have your domain set up, you create a folder for your application on the FTP server and use the address (e.g. http://example.com/myapp/, https://example.com/myapp/) and place that address into the Canvas URL field on the configuration panel in Facebook Developers site.
The steps on how to continue from now on can be found from the manual linked above. Hopefully this helped you out!

Creating a Copy of SSRS Site

I have a production SQL Server Reporting Services site called http://server/reports.
Now I want to redevelope this, without causing any downtime. I would like to copy the whole site and point it at http://server/reports2.
Here I can change what the user will see before evetually pointing the new site back at http://server/reports.
Is this possible
You can go into SSRS config and choose a new site name. All Programs>SQL Server 2008>Config Tools>SSRS Configuration Manager. It opens up a little admin site>Click 'Report Manager URL' on the left pane provided you have the credentials to get in. You can change your website and web service site here.
However that may wipe out your old site as I am not certain if that would work except for 'moving' a site. If you want two sites you will have to work with 'Scale-out Deployment' most likely which is a different problem all together.

How to Browse Server files using Flex4

I need to show the server uploaded files in flex 4.5 for a web application to manage the uploaded files like upload, delete and open for preview.
Can anyone help me How to list the sever side files in Flex action script3.0?
You can't just let Flash player browse your server files. But you could create a workaround.
Make a script on the server which will give you the list of files located at the path you're looking for. Through basic POST you can ask for a list of files for a directory. Then you can display it in your flash side. But remember every actual action that happens to your files MUST happen on the serverside. Also BEWARE such things, because it's really easy to look up network requests that are made in browser, so you may end up with all of your files deleted one day. So make sure you implement some security stuff.

Is there a way to deploy a custom .aspx page in the Reporting Services Pages folder?

I would like to deploy a custom page to the
..\MSRS10.MSSQLSERVER\Reporting Services\ReportServer\Pages
folder.
But it seems that all requests except to the ReportViewer.aspx page are redirected to a directory browse.
Is there a way to register a custom page?
It may be possible, but I think the biggest hurdle is sorting out the Report Server vs. Everything Else configuration in IIS. If you haven't already, look into your configuration options with SSRS.
Configuring Reporting Services URL Reservations
URLs in Configuration Files
From what I have found, and its pretty ugly, the only way is to register your own handler(s) that overrides ReportViewerWebControl.axd. You can then read the request stream and make various changes as you need. Its not a nice solution and not highly supportable moving forwards with potential updates etc.
As an example I recently had the need to embed calls to ReportViewer.aspx in an application but support cross domain scripting, which was straight forward enough until you requested reports with date parameters and the calendar picker, which uses iframes etc for IE support. I managed to get round this with the handler approach.
I ended up simply replacing the OOB ReportViewer.aspx file with a custom one.